public void UpdatePartyProductList_Bulk() { string result = string.Empty; try { this.dtbPartyProduct.AcceptChanges(); using (PartyBLL partyBll = new PartyBLL()) { result = partyBll.UpdatePartyProduct(this.dtbPartyProduct, ((frmMainMenu)this.ParentForm).UserID); } if (!result.Equals("OK")) { throw new Exception("Exception when update party product!"); } } catch (Exception ex) { throw ex; } }