Home All Groups Group Topic Archive Search About
Author
14 Nov 2006 1:38 AM
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

Author
14 Nov 2006 2:37 AM
RobinS
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.
-----------------------
Show quoteHide quote
"vbt" <tb***@cwnet.com> wrote in message
news:OnNGG24BHHA.4764@TK2MSFTNGP03.phx.gbl...
> 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
>
>