Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
33% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
3 Commented Posts
0 Endorsements
Ranked #4K
~11.4K People Reached

66 Posted Topics

Member Avatar for Tank50

Hi I used below coding for create a excel sheet.I got from on web site. In below coding there is no problem.Its create the excel file.If i run second time,its ask to overwrite the current excel file.If I said "Yes" then it ok ,but If I select cancel button,its generate …

Member Avatar for ddanbe
0
1K
Member Avatar for Tank50

Hi Guys I want to crete the SQL Tigger.There is table called Fruits.In fruits table it contain ITEM_CODE,ITEM_NAME and PRICE.So there is application that used to insert the values into fruits table. So I want once ITEM_Name or ITEM_CODE is update then sql trigger execute and It insert the update …

Member Avatar for adam_k
0
130
Member Avatar for Tank50

HI Guys These days I am checking whether amount is correctly upload into one of our table its located in oracle database below query used to check this . Select * from Amount_Paiad where CusID IN ('34343','34343','090094') There is no issue in query.Problem is how many values I can enter …

Member Avatar for Prateek nandan
0
513
Member Avatar for Tank50

Hi In my office there is an application ,and database is Sql server 2000.Using ODBC connection application connect to database.Recently database move into sql server 2005.Now application is not working,Its generate error message error message is "Connection failed".I tested the ODBC connection its okay. *I dont know what is language …

Member Avatar for prit005
0
195
Member Avatar for Tank50

Hi In my compnay we use web based application and backend as sqlserver 2005.recently this backend is move into another new server.I restore database backup in new server.Issue is after 4 days I saw transaction logs file size is more that 16GB in new server .In old server transaction log …

Member Avatar for crishlay
0
61
Member Avatar for Tank50

Hi I want to create text box array at desing time.It means i want to create text box like Text box1[1],TextBox[2],TextBox[3].How do u create it in desing time in C#. Thanks Tank50

Member Avatar for rationalise
0
654
Member Avatar for Tank50

HI I want to create new sql account in sql server 2005,and user only able view sql agent job history details only.How do I do this.Please help. Thanks Tank50

Member Avatar for Tank50
0
107
Member Avatar for Tank50

Hi I am developing windows application using C#.There is combo box in the windows application ,once user select value it automatically generate pop window.I want to appear the new window at the right side lower corner in combo box.I tused below coding ,but it never works,please let me know how …

Member Avatar for Mitja Bonca
0
119
Member Avatar for Tank50

Hi Guys I have an application that developed using ASP.net.There is cancel option,user can select number of item code and cancel it,but there is isssue.The issue is once user select more than 200 item code to cancel then it generate the error messsage.Error message is "Time Expird or server is …

Member Avatar for buddylee17
0
672
Member Avatar for Tank50

Hi guys I want to join two tables and executive the sql statement.I mention what is code i wrote ,Once Complie the code it says Error1 The left-hand side of an assignment must be a variable, property or indexer [CODE]SqlConnection Con3 = new SqlConnection("Data Source=IT;Initial Catalog=Test;Integrated Security=True"); Con3.Open(); string str1 …

Member Avatar for kvprajapati
0
294
Member Avatar for Tank50

Hi I created the web project using Asp.net.In that web site It read from database and show result in data grid.There is save button using that I can save it into excel file.the problem if I selected data with one month(20010-01-01 to 2010-01-31) ,then there are more data,but in data …

Member Avatar for Tank50
0
127
Member Avatar for Tank50

Hi There is application that created from C# or vb.net not sure about that.In application I can generate the report ,and its crystal reports.My default printer is network printer.I want to generate the report in custom page.In network printer custom page is selected as default page.Once Problem is I have …

0
86
Member Avatar for Tank50

Hi I create web site using asp.net,It publish in windows server 2003.when I type URL in internet explore its sows all the aspnet file(.aspx) file,after that I click on default.aspx file,but it wont works,its generate "page cannot found".I tried it in my local machine and server machine,but its that didn't …

Member Avatar for madison12
0
192
Member Avatar for Tank50

Hi I am using C# to connect to mysql database that install in my local machine.After I complete the project I want to publish it in another server.So I change the mysql connection string.Here I mention the connection string that I used in local machine String MyConString = "SERVER=localhost;"+"DATABASE=IPG;"+"UID=root;"+"PASSWORD=Test;"; Before …

Member Avatar for Tank50
0
146
Member Avatar for Tank50

Hi I Create the tigger when update process happen in database.When the after update process happened ,tigger instert the new record into another table about that table locate in different server.I create linked server also ,once tigger execute it generate the Error message .Below I mention the error Message I …

Member Avatar for Tank50
0
127
Member Avatar for Tank50

HI I use Reporting Service to generate the report and it generate report in aspx extention.I think its an ASP.Net page. Anyway Problem is once I log into those reports from server which I host these pages,Its works fine,but onceI log into those reports from another computer then its takes …

Member Avatar for kvprajapati
0
119
Member Avatar for Tank50

I am using Below SQL commands at Crystal Report as command [CODE]SELECT count(id) FROM Content WHERE CONVERT(varchar(10),ImportDate,101) between '{?Para1}' and '{?Para2}'[/CODE] but its generate message value as '0',But When I run in sql server it give result as 23454.Please Help me Sort this problem Thanks Tank50

Member Avatar for kvprajapati
0
71
Member Avatar for Tank50

Hi I want to write asp.net page with crystal reports.I pass parameter to reports.Once I press submit button its ask database user name and password.How I stop asking user name and password in every time. Thanks Tank50

Member Avatar for kvprajapati
0
98
Member Avatar for Tank50

HI I wrote below coding part,but its generate the exception.Below I mention the code and error Error [COLOR="red"]Data type mismatch in criteria expression.[/COLOR] [CODE] DataSet Serach_sumbitdata=new DataSet(); OleDbConnection conn7 = this.getconnection(); conn7.Open(); string str = "Select * from Customer where SubmitDate between '" + str1 + " 12:00:00 AM'" + …

Member Avatar for Tank50
0
196
Member Avatar for Tank50

I use SQL Server 2005 and I create function.Below I mention the Function that I created. [CODE] CREATE FUNCTION dbo.udf_GetCountryID(@Name varchar(50)) RETURNS VARCHAR(1000) AS BEGIN Declare @Description varchar(4000) select @Description = coalesce(@Description + ',' , '' ) + countryCode FROM dbo.Test_Table where CommonName='Japan' Return @Description END[/CODE] After creating function I …

Member Avatar for Tank50
0
222
Member Avatar for Tank50

Hi I need a help in SQL,There is table called sales.Its contains the day,sales quantity.If I write sql like below [CODE]select day,Sales_quantity from Sales.[/CODE] Then result should be Day SalesQuantity Monday 20 Monday 302 Monday 50 Tuseday 30 etc.. The problem is I want to get result like below Day …

Member Avatar for huangzhi
0
127
Member Avatar for Tank50

Hi I developed report using sql server reporting service.I used parameter to assign value for sql query.I want to use "LIKE" keyword in using parameter,How i do that?i wrote coding below what u wrote before.I used @con as parameter. [COde=sql]Select FriutID from Friut where friutName like'@con'%.[/COde] Once I write above …

Member Avatar for Ramesh S
0
147
Member Avatar for Tank50

Hi I developing application using C#,and user name and password save in database.Only few users can access to certain forms and admin can access to all forms.How do I do this? Thanks Tank50

Member Avatar for kvprajapati
0
82
Member Avatar for Tank50

I using Visual studio 2008 to connect to SQL server 2000,while I run the application there is exception,but sometime there is no exception is generating.Below I mention the exception. [COLOR="Red"]Exception Error at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, …

Member Avatar for sknake
-1
135
Member Avatar for Tank50

Hi In my Project I used to connect to sql server2000,which is not in local computer.I use visual studio 2005 to develop the windows application.Once I run the apllication it gave me error message ,below I mention the error meassage I got [COLOR="red"] A network-related or instance-specific error occurred while …

Member Avatar for Tank50
0
159
Member Avatar for Tank50

Hi I already Install the MS Sql server 2005 into my machine,but I want to install the Sql server 2008 into my machine.I want to install the sql server into "D:" Drive, because of few space available in "C:" drive. 1)Can I install sql server 2008 into "D:" drive? 2)If …

Member Avatar for sknake
0
100
Member Avatar for Tank50

Hi I Create service using C#.I use the coding part of test to create servicee.Once I start the service it gave me message saying "Myservice on local computer started and then stoped.Some services stop automaticaly if they have no work to do,for example ,the performance logs and alerts service" below …

Member Avatar for DangerDev
0
176
Member Avatar for Tank50

Hi I got a error message once ,I read datareader.The error message is"Invalid attempt to read when no data is present". Previously I go this error,coz I missed the sqldatareader.Read() method.once I put the datareader.Read method still I got the same error. String str_string1="select ID,renew,reminder,heading from dbo.StockModifications"; ContractID_Reader2 = db.getdatareader(str_string1); …

Member Avatar for jbisono
-1
144
Member Avatar for Tank50

Hi I want to read the content in datareader.So I use below coding to do that if (dataReader4.IsDBNull(0)){ } but I run above coding it gave me an error meassage.The error Meassage is "Invalid attempt to read when no data is present". then I use below coding dataReader4["Email"]==null but It …

Member Avatar for Tank50
0
176
Member Avatar for Tank50

Hi I Want to develop the application ,that use for get how much data I download from the internet.Please give me idea. Thanks Tank50

Member Avatar for Tank50
0
135
Member Avatar for Tank50

Hi I use the reporting services to generate the report.I use query like "Select Distinct(ID) from Table1".In that query Its generate the number of ID ,So In report user able to several "ID" at one time,so I think if I can use combo box then user can select ID which …

Member Avatar for Tank50
0
93
Member Avatar for dummy C#

Hi I think Error is in Microsoft.Office.Interop.Excel.Range column = [COLOR="Red"](Microsoft.Office.Interop.Excel.Range)workSheet.get_Range("C11", "I1");[/COLOR] If u change it into C11 then it works,just use like this (Microsoft.Office.Interop.Excel.Range)workSheet.get_Range("C11", "C11");[/COLOR]

Member Avatar for Tank50
0
383
Member Avatar for kerek2
Member Avatar for Tank50

Hi I created C# project ,but there is problem,the problem is if I click on close button in right side upper corner in windows application while program is running ,then it's close,but I cant compile it in second time because its giving error massage "your Test10.Exe is already running",but there …

Member Avatar for sknake
0
159
Member Avatar for Tank50

Hi I use C# to read excel file.So user has to enter path of the excel file into application.However problem is, if there is null value in excel sheet for particular column then it generate the exception.so i want to create another application that check null ,how do I find …

Member Avatar for Tank50
0
206
Member Avatar for havejeet

HI Check this web site.I think it may be helpful to u. [URL="http://www.codeproject.com/KB/cpp/BackgroundWorker_Threads.aspx"]http://www.codeproject.com/KB/cpp/BackgroundWorker_Threads.aspx[/URL] Thank Tank50

Member Avatar for Tank50
0
128
Member Avatar for Tank50
Member Avatar for Tank50

HI Iam created project in visual studio 2008,and once I compile coding,it give me error meassagee.The Error Meassage is [COLOR="Red"]Error 1 The type 'Microsoft.Office.Interop.Excel.Workbook' exists in both 'c:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll' and 'e:\Test\Test\Test\obj\Release\Interop.Microsoft.Office.Interop.Excel.dll' E:\Test\Test\Test\Test.cs 13 67 Test [/COLOR] So what I did is I delete the Excel.dll in (\obj\Release\Interop.Microsoft\Excell.Dll,but once I complie it …

Member Avatar for Tank50
0
87
Member Avatar for Tank50

Hi Nowdays Iam developing application that use for read excel .So Once I run and close the application there are more than 5 excel.exe process are running.How to stop these process.Below I mention code which I used. [CODE] xlApp = new Excel.ApplicationClass(); DataSet ds = new DataSet("DataSet"); xlWorkBook = xlApp.Workbooks.Open("C:\\Test.xls", …

Member Avatar for Ramy Mahrous
0
130
Member Avatar for shameemmMbstu
Member Avatar for Tank50

HI Can I join two data tables without any database connection,Please let me know if there way to do this.Iam using C# Thanks Tank50

Member Avatar for Tank50
0
121
Member Avatar for Tank50

HI I am join two tables without any database,what iam doing is create two datatable from reading excel file and join ad "outer join",I got the coding from internet,and that artical shows how to join two table with "euqi join",So I want to know how to join two tables as …

Member Avatar for serkan sendur
0
124
Member Avatar for Tank50

Hi Once I wrote below coding it give error meassage.Error meassage is "Member not found".I wrote red color that show the error meassage is occur. [CODE] Microsoft.Office.Interop.Excel.Application xl = new Microsoft.Office.Interop.Excel.Application(); Excel.Workbook xlWorkBook = (Excel.Workbook)xl.Workbooks.Open("D:\\Test\\VOIP_X.xls", 0, true, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0); [COLOR="red"] …

Member Avatar for Tank50
0
110
Member Avatar for Tank50

HI I want to read Excel file from C#,below I menation the coding I use, I add Microsoft Excel 12.0 object library ,but Once I complie the coding it gave me error Meassage.The Error Meassage is 1."Type of Namespace for Application class Doesnt exsits" 2.Excel.Application.Workbook(object) is a method,which not given …

Member Avatar for Tank50
0
341
Member Avatar for Tank50

Hi I wrote below coding ,and last Message "Test" never appear in my project ,it means while loop never works.Plase tell me what is problem in my coding [CODE] public partial class Form1 : Form { public static int Number_Records; public static DataSet ds; public static DataTable dt; public static …

Member Avatar for djloser
0
225
Member Avatar for Tank50

Hi guys I have a problem in my project.Below I mention the coding I wrote it for testing purpose. In below coding the second while loop never run,only [CODE] SqlDataReader reader = DbCon.Get_Invoices(); int x = 0; while (reader.Read()) { x++; [B][COLOR="Red"] 1[/COLOR][/B] } MessageBox.Show(x.ToString()); chart2.DataBindCrossTable(reader, "ExecutiveCode", "Date1", "Total", ""); …

Member Avatar for Tank50
0
150
Member Avatar for Tank50

Hi Once I complie below coding part,it give me error meassage.The Error Meassage is Error . [COLOR="Red"]The name 'CurrentOutLet' does not exist in the current context[/COLOR] BelowI write my coding [CODE]. public SqlDataReader Current_outletReport(string code, string startdate, string enddate) { try { SqlDataReader CurrentOutLet; SqlConnection con; string str = "SELECT …

Member Avatar for Tank50
0
96
Member Avatar for Tank50

HI Iam using MSChart for one of my project ,and in Microsoft site it mention that MSChart only support for visual Studio 2008 and Dotnet framework 3.5 SP1,SO i f I create Exe for that project then if I install it another compurter then is there DOTNET framwork 3.5 install? …

Member Avatar for alc6379
0
91
Member Avatar for Tank50

HI I installed Visual Studio 2008,but I only installed C#.I want to create new database connection,so what I did is in Database connection->Add connection->select Data source But MS Sql server compact 3.5 and MS sql server database File are avaliable in here I cant find the sql native client,only MS …

Member Avatar for Tank50
0
129
Member Avatar for Tank50

Hi I have dropdown list in my asp.net page.I wrote a below coing coidng in the `SelectedIndexChanged`, protected void cmb_Se_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection con=new SqlConnection("Data Source=20.1.2.58;Initial Catalog=Customer;User ID=test123"); string str = "select ExecutiveName from Executive where TeCode='"+cmb_Te.Text+"'"; con.Open(); SqlCommand command=new SqlCommand(str,con); SqlDataAdapter adpter=new SqlDataAdapter(command); DataSet data=new DataSet(); adpter.Fill(data); …

Member Avatar for culeu
0
137

The End.