hello friends doubt in dotnet
Reply
![]() |
|
From:
![]() sudha_josyula1
|
hello friends, i am struggling with a problem for last 3 days.i.e i am unable to open an excel sheet using c# coding i am getting an error at connection of msaccess.and the error i am acquiring is expected table is not in correct format The requirement i am having is i have to read data from sqldatabase and place it into excel sheet and i have done correctly and the data has been entered into excel sheet but when i am editing some values in the excelsheet and trying to save again in the sqldatabase iam getting an error at con.open()of msexcel2003
The connection i am using for msexcel2003 is :
OledbConnection con=new OledbConnection("Provider=microsoft.Jet.OLEDB4.0;Datasource="c:\emp.xls;extended properties=""excel8.0;HDR=Yes;IMEX=1""";) con.Open() con.close()
In the above code i am getting error at con.Open();
kindly help me excepting a favourable reply from sudha
_________________________________________________________________ Best IT jobs on naukri.com http://www.naukri.com/tieups/tieups.php?othersrcp=3246
|
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|
- hello friends doubt in dotnet sudha_josyula1
-