Ejemplo n.º 1
0
 public static SqlDataReader ExecuteReader(string connectionString, string commandText, params object[] paramValues)
 {
     // get parameters and assign values
     SqlParameter[] procParams = BaseSqlHelper.GetParams(connectionString, commandText);
     BaseSqlHelper.AssignParams(procParams, paramValues);
     return(BaseSqlHelper.ExecuteReader(connectionString, commandText, procParams));
 }
Ejemplo n.º 2
0
 public static SqlDataReader ExecuteReader(string connectionString, string commandText)
 {
     return(BaseSqlHelper.ExecuteReader(connectionString, commandText, (SqlParameter[])null));
 }