Add Rows to DataGridView in C Sharp (C#) WinForms
In C Sharp (C#) use Add() method to add Rows with values in DataGridView. Number of parameters depends upon the number of fields you added to a row.
dataGridView1.Rows.Add("CSharp-Language",786);
I am used 2 parameters ( "CSharp-Language",786) because i am added two fields Name and ID in a Row in DataGridView.
Check out the code and do comment here...
No comments:
Post a Comment