Exemplo n.º 1
0
        public System.Data.DataTable DownLoadItemContent(System.Collections.Hashtable hashtable)
        {
            datasource.OperationId    = _DownLoadItemContent_OperationId;
            datasource.PutParamByName = HygeiaBaseData.Put_BIZC110118_ItemCountDic(null);
            if (datasource.Execute())
            {
                datasource.SetResultset("count");
                //取总记录条数
                string count = datasource.GetDataReslut("count");

                //取出所有数据集,因为它这个是采用分页形式
                hashtable = new System.Collections.Hashtable();
                hashtable.Add("count", count);
                datasource.PutParamByName = HygeiaBaseData.Put_BIZC110118_ItemDic(hashtable);
                if (datasource.Execute())
                {
                    datasource.OutDataSet = new DataSet();
                    HygeiaBaseData.Out_BIZC110118_ItemDT(datasource.OutDataSet);
                    DataSet ds = datasource.GetDataSet();
                    datasource.Complete();
                    return(ds.Tables[0]);
                }
            }
            return(null);
        }
Exemplo n.º 2
0
 public string UploadMatchContent(System.Collections.Hashtable hashtable)
 {
     datasource.OperationId = _UploadMatchContent_OperationId;
     HygeiaBaseData.Put_BIZC110201DTAdd(datasource.PutRecByName, hashtable);
     if (datasource.Execute())
     {
         datasource.SetResultset("effectdetail");
         return(datasource.GetDataReslut("serial_match"));
     }
     return(null);
 }