Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
Expert to Excel Missing Some Data In Grid View
posted

Hi All..

Please help me. I'm really frustration about my problem. I'm building one application which is there is one function in that application can upload excel into DB.

My problem is when i upload the excel sheet into ultra grid and bind it, there is some data missing. Missing means i cant see the data of few column in ultra grid.

When I'm using MS.Excel 2003 in my PC, there is no issue like this but when i installed MS.Excel 2007, I've got problem like what I'm describing above. The excel sheet which i use is *.xls .

Here below my connection string:

return new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;" +
                    "Data Source=" + fileName + "; Extended Properties=\"Excel 12.0 Xml;HDR=YES;IMEX=1\"");

Anyone, please help me.

 

Thanks a lot for your kinda helping.