Then how will it work. After adding rows you will need to store the dataset in Viewstate so that it is not lost
//Store after adding rows
ViewState["Data"] = ds;
Response.Redirect(Request.Url.AbsoluteUri);
//Get and bind to GridView
if(!IsPostBack)
{
DataSet ds = ViewState["Data"] != null ? (DataSet)ViewState["Data"] : new DateSet();
GridView1.DataSource = ds;
GridView1.DataBind();
}