protected void gv_Staff_RowDeleting(object sender, GridViewDeleteEventArgs e) { if ((int)ViewState["ClientID"] != 0) { int organizecity = (int)gv_Staff.DataKeys[e.RowIndex]["Org_Staff_ID"]; CM_ClientBLL bll = new CM_ClientBLL((int)ViewState["ClientID"]); bll.StaffInProperty_Delete((int)ViewState["ClientID"], organizecity); BindGrid(); } }
protected void gv_Staff_RowDeleting(object sender, GridViewDeleteEventArgs e) { if ((int)ViewState["ClientID"] != 0) { int organizecity = (int)gv_Staff.DataKeys[e.RowIndex]["Org_Staff_ID"]; CM_ClientBLL bll = new CM_ClientBLL((int)ViewState["ClientID"]); bll.StaffInProperty_Delete((int)ViewState["ClientID"], organizecity); BindGrid(); } }