Beispiel #1
0
 public static void GetProduct()
 {
     try
     {
         Product_DA _objDa = new Product_DA();
         DataSet    _ds    = _objDa.Product_GetAll();
         c_lst_Product = NaviCommon.CBO <Product_Info> .FillCollectionFromDataSet(_ds);
     }
     catch (Exception ex)
     {
         NaviCommon.Common.log.Error(ex.ToString());
     }
 }
Beispiel #2
0
 public byte[] Product_GetAll()
 {
     try
     {
         Product_DA _objDA = new Product_DA();
         DataSet    _ds    = _objDA.Product_GetAll();
         return(CompressionHelper.CompressDataSet(_ds));
     }
     catch (Exception ex)
     {
         NaviCommon.Common.log.Error(ex.ToString());
         return(new byte[0]);
     }
 }