protected void gvnested_RowEditing(object sender, GridViewEditEventArgs e)
{
try
{
System.Web.UI.WebControls.GridView gvnst = ((System.Web.UI.WebControls.GridView)sender);
gvnst.EditIndex = e.NewEditIndex;
FillHatcheryGridDetails();
GVChickSales.DataBind();
}
catch (Exception ex)
{
Log(ex.Message, ex.StackTrace);
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Exception Message", "alert('You have an exception,please consult IT department')", true);
}
}
how to write cs code for editing.