protected void onRework(object source, CommandEventArgs e) { BLL_VET_Index objBLLIndx = new BLL_VET_Index(); Vetting_Id = Convert.ToInt32(e.CommandArgument); try { objBLLIndx.VET_Upd_VettingReworkStatus(Vetting_Id, Convert.ToInt32(Session["USERID"])); Bind_VettingIndex(); } catch (Exception ex) { UDFLib.WriteExceptionLog(ex); string js = "alert('" + UDFLib.GetException("SystemError/ GeneralMessage") + "');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "error", js, true); } }