DataGridView

  • Thread starter Thread starter vbt
  • Start date Start date
V

vbt

Is it possible to load a DataGridView with a text

file with the cells separated by commas? I do not

have access to a program like Excel that can create

a database. I am using Visual Basic 2005.



Thanks
 
Sure. You can bind a DataGridView to an object, DataSet,
DataTable, DataView, generic list, arraylist, etc.

Try reading in the comma-delimited data and stuffing it
into a dataset that you create on the fly, then bind
the DataGridView to that.

By the way, SQLServer Express is a free database application,
if you want one. Available from Microsoft.

Robin S.
 
Back
Top