protected void gvDetails_RowDeleting(object sender, GridViewDeleteEventArgs e) { int Details_ID = UDFLib.ConvertToInteger(gvDetails.DataKeys[e.RowIndex].Values[1].ToString()); ViewState["ScreenID"] = UDFLib.ConvertToInteger(gvDetails.DataKeys[e.RowIndex].Values[0].ToString()); int result = BLL_Infra_ShipSettings.Delete_RANK_SCREEN_Access_Details(Details_ID, UDFLib.ConvertToInteger(Session["UserID"].ToString())); BindScreen_By_SrceenID(); upDetails.Update(); }