Beispiel #1
0
 public static SqlDataReader GetDataReader(string StoredProcName)
 {
     try
     {
         return(DataAccessSql.RetrieveDataReader(StoredProcName, CommandType.StoredProcedure, (SqlParameterCollection)null));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 public static SqlDataReader GetDataReader(string CommandText, CommandType CommandType)
 {
     try
     {
         return(DataAccessSql.RetrieveDataReader(CommandText, CommandType, (SqlParameterCollection)null));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }