Esempio n. 1
0
 private DataTable GetValidPricing(string customerid, DateTime date)
 {
     wsINP.IwsINPClient client = new wsINP.IwsINPClient();
     DataTable dt = null;
     try
     {
         dt = client.GetValidPricing(baseForm.CurrentContextInfo, customerid, date).Tables[0];
     }
     catch (Exception ex)
     {
         throw ex;
     }
     finally
     {
         baseForm.CloseWCF(client);
     }
     return dt;
 }