Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have converted XML files into Excel sheet now...
I want to transfer Excel sheet into listview.....
plz help
Posted

You can actually read excel sheet just like you read a database table. Use an oleDB provider and a proper connectionstring (like "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=MyFile.xls;Extended Properties=Excel 8.0;"). And do almost the same as if it was a database.

Read more at MSDN
 
Share this answer
 
But whole cells values are not reading...
Some values coming null....
what to do on such problem..
 
Share this answer
 

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