DataTable dt ... DataRow newRow = dt.NewRow(); // set row fields dt[0] = "whatever"; dt.Rows.InsertAt(0, newRow); myDataGrid.DataSource = dt;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)