Example #1
0
 /// <summary>
 /// 功能:对传入的SQL执行查询操作,返回DataSet
 /// 日期:2013-05-15
 /// </summary>
 /// <param name="sql">执行的SQL</param>
 /// <param name="parList">参数列表</param>
 /// <returns></returns>
 public static DataSet ExecuteDataSet(string sql)
 {
     return(OracleDBHelper.ExecuteDataSet(sql, null, DataBaseType.DefaultDB));
 }
Example #2
0
 /// <summary>
 /// 功能:对传入的SQL执行查询操作,返回DataSet
 /// 日期:2013-05-15
 /// </summary>
 /// <param name="sql">执行的SQL</param>
 /// <param name="parList">参数列表</param>
 /// <returns></returns>
 public static DataSet ExecuteDataSet(string sql, List <ParameterEntity> parList)
 {
     return(OracleDBHelper.ExecuteDataSet(sql, parList, DataBaseType.DefaultDB));
 }