but the thing is that i need only the code to upload the excel datas into the database without using datagrid. bcoz i'm not using datagrid in my application and i don't use stored procedure as the application is already a running project in which i have to add a small part. i hope u got my idea. i need only the code for importing datas into mysql table. pls help me..
Sorry for the very basic question, I'm totally new to ASP.NET. My task is to write a simple user control to be talking with SharePoint. The problem I have is understanding communication with the Datagrid. At hte moment where I think I must be geeting the contents of the cells on grid I'm getting Argument.Out.OfRAnge Exception. I'm obviously doing something wrong, but my Win-form experience doesn't tell me what. Any help is very much appreciated. Thanks
In the following code I'm able to display the contents of the DataTable, then add a new row to the table, display it. But when I click on the "update" button on the grid to display the contents of the cells in Labels, "Index Out of range"exception is thrown.
Is there a way we can make a Cross Tab in GridView using ASP.NET 2.0.
There is a simple workarund available that the SQL statement can be restructred so that it returns cross tab view however this is not something which I want.
MailMessage mail=new MailMessage();
mail.To = "firstname.lastname@example.org";//to address
mail.From = "email@example.com"; //give any address
mail.Subject = "Issue Fixed"; //Subject of mail
mail.Body = "The issue has been fixed"; //Body of mail
SmtpMail.SmtpServer = "10.54.1.1";//Use this if u use proxy server for internet