Populating variables into a DataGrid

Terje

Member
Joined
Jul 2, 2004
Messages
5
Programming Experience
Beginner
[font=verdana, arial, helvetica]Does anyone know if/how I can populate a DataGrid with data (variables) within a desktop application with vb.net without using a database?

Thanks in advance

Terje
[/font]
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
You can create a dataSource (anything that implements the IList or IListSource interface) and set the DataSource property of the dataGrid to that object. Some things that implement the IList or IListSource interface are DataTables, Arrays, and Collections.
 
Top Bottom