Exemplo n.º 1
0
 private void gcArticleDelete_ItemClick(object sender, EventArgs e)
 {
     try
     {
         if (ObjBSupplier == null)
         {
             ObjBSupplier = new BSupplier();
         }
         int IVlaue = 0;
         if (int.TryParse(Convert.ToString(gvArticles.GetFocusedRowCellValue("WGWAID")), out IVlaue))
         {
             ObjESupplier.WGWAID = IVlaue;
             ObjESupplier        = ObjBSupplier.DeleteSupplierArticleMap(ObjESupplier);
             BindArticleData(ObjESupplier.SupplierID);
         }
     }
     catch (Exception ex) { Utility.ShowError(ex); }
 }