Beispiel #1
0
 /// <summary>
 /// 执行一条计算查询结果语句,返回查询结果(object)。
 /// </summary>
 /// <param name="SQLString">计算查询结果语句</param>
 /// <returns>查询结果(object)</returns>
 public object GetSingle(string SQLString)
 {
     Hownet.BLL.RunProcedure bllRP = new Hownet.BLL.RunProcedure();
     return(bllRP.GetSingle(SQLString));
 }
Beispiel #2
0
 /// <summary>
 /// 执行存储过程
 /// </summary>
 /// <param name="storedProcName">存储过程名</param>
 /// <param name="parameters">存储过程参数</param>
 /// <param name="tableName">DataSet结果中的表名</param>
 /// <returns>DataSet</returns>
 public byte[] GetDSForPrcoce(string storedProcName, object[] parameters, string tableName)
 {
     Hownet.BLL.RunProcedure bllRP = new Hownet.BLL.RunProcedure();
     return(ds2Byte(bllRP.GetDSForPrcoce(storedProcName, parameters, tableName)));
 }