hi to all can any one explain how to use oledb to connect excel sheet and how to read data from excel sheet and after reading i have to store that data into a class like
class bookinfo
{
int bookid;
int bookname;
}
plz help me
thank you
Reading data from Excel Sheet using oledb connection
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Lalit MRank #1,186 · 1.5K reputationPosted Jan 15, 2010, 7:39 PM EST
Connection String
To access an Excel workbook by using the Jet OLE DB Provider, use a connection string that has the following syntax:read more here & Here
srinivas137 reputationPosted Jan 15, 2010, 8:39 PM EST
and i am getting an error like could not found ISAM installed
plz help me
thanks