How to programmatically add a row to a datagridview when it is data-bound?
Add a row to the datatable, the datagridview will update automatically:
DataTable dt = myDataGridView.DataSource as DataTable;
//Create the new row
DataRow row = dt.NewRow();
//Populate the row with data
//Add the row to data table
dt.Rows.Add(row);