dataGrid without DB

  • Thread starter Thread starter Eugene Turin
  • Start date Start date
E

Eugene Turin

Hi. I have a question from newby in C#.
I want to use a dataGrid without any DB. Is it possible?
How to dispaly in dataGrid array of strings? How to add columns?

Maybe there is a Grid component available?

P.S. I use a MS Visual Studio.Net
 
Hi,

IIRC you could bind any IList to the datagrid, this mean ArrayList, Array,
and any CollectionBase's derived class


cheers,
 
Eugene,

In addition to what Ignacio said, you can just create a DataSet in code,
without any connection to a database. Then, you can just bind that to the
DataGrid.

Hope this helps.
 
Back
Top