Hello All,
How I can edit rows of gridview using Command Field ‘Edit,Update,Cancel’ of the gridview?
I bind the gridview with the Session variable, which contain and returns the DataTable, the coding is as follows:-
protected void Page_Load(object sender, EventArgs e)
{
GridView1.DataSource = (DataTable)Session["MyShoppingCart"];
GridView1.DataBind();
}
One more thing is that, on the edit event user can only update ‘Quantity’ column of the gridview.
Anyone please solve this problem.
Thanks.