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