You can use the Rows collection to manually populate a DataGridView control instead of binding it to a data source. The following example shows you how to1. DataGridViewRow row = (DataGridViewRow)yourDataGridView.Rows[0].Clone(); ; 2. row.Cells[0].Value = "XYZ"; ; 3. row.Cells[1].Value = 50.2; ; 4. yourDataGridView.
You need to be a member of Reggae Nation to add comments!
Join Reggae Nation