Add New Row in DataGridView Programmatically
In some cases, you want to add new rows to the DataGridView programmatically. If you are using a data-bound DataGridView control, you cannot easily use the cells properties of the DataGridView control.
All you need to do is use the dataset where the DataGridView control is connected.