Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

add row to datagridview c#

DataGridViewRow row = (DataGridViewRow)yourDataGridView.Rows[0].Clone();
row.Cells[0].Value = "XYZ";
row.Cells[1].Value = 50.2;
yourDataGridView.Rows.Add(row);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #row #datagridview
ADD COMMENT
Topic
Name
2+9 =