supegong  

using System;
using System.Data;
using System.Data.Odbc;

namespace fybs.data
{
 /// <summary>
 /// Djkd 的摘要说明。
 /// </summary>
 public class Djkd:fybs.data.DbObject
 {
  public Djkd()
  {
   //
   // TODO: 在此处添加构造函数逻辑
   //
  }

  public DataSet GetJkd(string strLx,string strYgid,string strLcid)
  {
   OdbcParameter[] parameters = {
            new OdbcParameter("@lx",OdbcType.Char,1),
            new OdbcParameter("@ygid",OdbcType.Char,10),
            new OdbcParameter("@lcid",OdbcType.Char,4)
      
           };
   parameters[0].Value = strLx;
   parameters[1].Value = strYgid;
   parameters[2].Value = strLcid;

   return createDs("{CALL spGetJkd(?,?,?)}",parameters);
  }

}

posted on 2009-12-09 14:29  supegong  阅读(112)  评论(0)    收藏  举报