Reputation: 1
I have created 3 columns on a DataGridView
control, but I don't know how to add rows. Please help.
Upvotes: 0
Views: 620
Reputation: 11667
Possibly a duplicate of:
How to add data to DataGridView
or
how to add row to datagridview
or
How to add rows and columns to a DataGrid?
or
How can I add one row to a DataGridView?
Please use the search bar located on the top right corner of this site if you think your question may have already been covered.
Upvotes: 3
Reputation: 2556
This is just off the top of my head..
DataRowItem dr = DataGrid.NewRow();
DataGrid.Items.Add(dr);
Upvotes: 0