private DataTable GetValidExchange(DateTime date) { wsMDL.IwsMDLClient client = new wsMDL.IwsMDLClient(); DataTable dt = null; try { dt = client.GetValidExchange(baseForm.CurrentContextInfo, date).Tables[0]; } catch (Exception ex) { throw ex; } finally { baseForm.CloseWCF(client); } return dt; }