close

            DataSet dstmp = new DataSet();
            bool rc = false;
            //設定連結字串
            Database db = base.GetDatabase();

            DbCommand dbCommand = db.GetStoredProcCommand(sp_name);
            dbCommand.CommandType = CommandType.StoredProcedure;
            db.AddInParameter(dbCommand, "@FDate", DbType.DateTime, FDate);
           
             
     
            #region try
            try
            {

                dstmp = db.ExecuteDataSet(dbCommand);
                rc = true;
                return dstmp;
            }
            catch ( Exception ex)
            {
                return dstmp;
            }
            #endregion


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 11 的頭像
    11

    冠霖的部落格

    11 發表在 痞客邦 留言(0) 人氣()