Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

i am reading values from an excel file into a dataset using asp.net and the connection is oledb connection.
connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + fileLocation + ";Extended Properties=\"Excel 12.0;HDR=Yes;IMEX=1\"";

At times there exists values in the cell but are not being read into the dataset. the values in the dataset show up as null/dbnull.

plz let me know if you can help me in figuring this out.



thanks in advance.
Posted
Comments
CHill60 22-May-15 7:10am    
Share the code that is doing the actual read and what data types are not being read?
ZurdoDev 22-May-15 8:15am    
Click improve question and show relevant code and relevant data otherwise all we can do is guess.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900