Ejemplo n.º 1
0
 public static DataSet GetDS(string Bll, string Exc, object[] par)
 {
     ServiceReference1.FileTransportServiceClient ft = new ServiceReference1.FileTransportServiceClient();
     try
     {
         byte[] da = ft.getZipData(Bll, Exc, par);
         ft.Close();
         return(Byte2DS(da));
     }
     catch (Exception ex)
     {
         DataSet ds = new DataSet();
         ds.Tables.Add();
         return(ds);
     }
     finally
     {
         ft.Close();
     }
 }