protected void gvclass_RowUpdating1(object sender, GridViewUpdateEventArgs e) { classinfo infoclass = new classinfo(); classsp spclass = new classsp(); GridViewRow row = gvclass.Rows[e.RowIndex]; infoclass.classId = decimal.Parse(gvclass.DataKeys[e.RowIndex].Value.ToString()); infoclass.className = ((TextBox)row.FindControl("txtICLassName")).Text; infoclass.noOfSeats = int.Parse(((TextBox)row.FindControl("txtISeats")).Text); int a = spclass.ClassEdit(infoclass); gvclass.EditIndex = -1; gridfill(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)