private DataTable GetPackingCarton() { wsINP.IwsINPClient client = new wsINP.IwsINPClient(); DataTable dt = null; try { dt = client.GetPackingCartonRecords(baseForm.CurrentContextInfo).Tables[0]; } catch (Exception ex) { throw ex; } finally { baseForm.CloseWCF(client); } return dt; }