Click here to Skip to main content
15,910,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am totally blank about this concept. I having no idea about how to implement this.
So plz give me solution as soon as possible
Posted
Comments
Karthik_Mahalingam 17-Jan-14 1:58am    
can u post the sampe data of your csv file
Pratiik Miistry 17-Jan-14 2:04am    
How can i give sample,its CSV file
How can i attach it in this comment..?

1 solution

Convert your csv file to DataTable using this article Convert CSV File to data table[^]

convert-csv-data-to-datatable-in-vb-net/11119089#11119089[^]

then you can bind the table as

VB
GridView1.DataSource = dt
GridView1.DataBind
 
Share this answer
 
Comments
Pratiik Miistry 17-Jan-14 2:15am    
hey bro,Thank you so much for help by giving this solution
Now i am trying to understand this code bcz its new for me.

If i got any query then i will reply.
Thanks :-)
Karthik_Mahalingam 17-Jan-14 3:39am    
sure Pratiik :)

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