To insert a new row of data @ runtime then follow
Mohd's post.
Populating the GridView with new data - use
DataSource then
DataBind.
To update or refresh your current datasource then just
DataBind again.
GridView1.DataSource = "DataObject"
GridView1.DataBind()
If you wanting to add a new GridView at runtime then the best way would be to have a
PlaceHolder control available.
var gridView = new GridView();
gridView.DataSource = "DataObject";
gridView.DataBind();
Placeholder1.Controls.Add(gridView);