| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using CoreFS.CA06;
- using System.Data;
- using System.Collections;
- namespace Core.LgMes.Client.lgDbMgt
- {
- /// <summary>
- /// 三期Mes 数据库调用
- /// </summary>
- class DbLg3qMes : IDbCommand
- {
- /// <summary>
- /// 返回数据集
- /// </summary>
- /// <param name="param"></param>
- /// <returns></returns>
- public DataSet ExecuteReader(DbClientParam param)
- {
- DataSet ds = new DataSet();
- try
- {
- CoreFS.CA06.FrmBase fr = new FrmBase();
- fr.ob = param.ob;
- DataTable dt = new DataTable();
- CoreClientParam Ccp_Query = CoreClientParamMgt.ReturnSqMesDbCoreClientParamForQuery(param.sqlStr, dt);
- fr.ExecuteQueryToDataTable(Ccp_Query, CoreInvokeType.Internal);
- ds.Tables.Add(dt);
- }
- catch
- {
- }
- return ds;
- }
- public string ExecuteNonQuery(DbClientParam param)
- {
- return "";
- }
- }
- }
|