Sunday, November 14, 2010

In VB.NET, how do you programmatically load 4 columns of data into a DataGrid from an array of information?

I recently started using VB.NET.



I have a DataGridView to show data in a spreadsheet format.



I need to load rows of data, each row representing information from an array, one row for each array element.



Help, anybody? Thanks.In VB.NET, how do you programmatically load 4 columns of data into a DataGrid from an array of information?
Set the DataGridView's .DataSource equal to the array. Then programmatically define the columns for the DataGridView.

No comments:

Post a Comment