Hi all
how can i display data in data grid after reading txt file using vb.net. i got no problem in reading txt file. i just want to know how to display those data into data grid. if any can help that will be gr8. thx

Read the text file into a dataset/datatable and then simple set the datagrid's datasource = to the datatable

DataGrid1.DataSource = myDataSet.Tables(0)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.