ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   now available for editing (https://www.excelbanter.com/excel-programming/349139-now-available-editing.html)

[email protected]

now available for editing
 
I am importing some data from Excel file into a DataSet
After the import I always get a pop up message saying "upload file is
now available for editing"
retry /cancel

How do i avoid the message?
Follow is a part of the code

/********CODE********/
strCom = " SELECT * FROM [Upload$] ";
string strCon =" Provider = Microsoft.Jet.OLEDB.4.0 ; Data Source
="+uploadFile+";Extended Properties=Excel 8.0"; conn.ConnectionString =
strCon;
adapter.SelectCommand = new OleDbCommand(strCom, conn);
conn.Close();
adapter.Fill(tempDS);
/********CODE********/


Thanks in advance


[email protected]

now available for editing
 
Any one got a chance to look at this?



All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com