//11007 public DataTable DownLoadDrugContent(System.Collections.Hashtable hashtable) { //CxNhDataSource datasource = new CxNhDataSource(); datasource.OperationId = _DownLoadDrugContent_OperationId; if (datasource.Execute()) { datasource.OutDataSet = new DataSet(); CxNhBaseData.Out_11007DT(datasource.OutDataSet); DataSet ds = datasource.GetDataSet(); datasource.Complete(); //this.dataGridView1.DataSource = ds.Tables[0]; return(ds.Tables[0]); } return(null); }
public object GetPatientInfo(System.Collections.Hashtable hashtable) { try { datasource.OperationId = _GetPatientInfo_OperationId; datasource.PutParamByName = CxNhBaseData.Put_00015Dic(hashtable); if (datasource.Execute()) { datasource.OutDataSet = new DataSet(); CxNhBaseData.Out_00015DT(datasource.OutDataSet); DataSet ds = datasource.GetDataSet(); datasource.Complete(ref _message); return(ds.Tables[0]); } return(null); } catch (Exception err) { datasource.Complete(ref _message); throw err; } }