Click here to Skip to main content
15,887,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
May someone teach me how to retrieve a file of data into datagridview?
Posted

1 solution

Hi,

DataGridView display data in tabular form. So your file should be either Excel or CSV to display data in grid form.

Let me give you some links to generate datatable from excel file. you can bind datatable with datagridview,

http://forums.asp.net/t/1255191.aspx/1[^]

Check this for excel reading into datatable[^]

Best luck.
 
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