G
Guest
Does anyone know how to retrieve the top 5 rows from a data view? I
essentially want to replicate T-SQL's "Select TOP 5 from..." in code. It
seems that the RowFilter property only allows you to filter as you would a
"WHERE" clause. Any ideas? Right now I'm looping through the view and
removing the extra row, but I imagine there's a better way.
essentially want to replicate T-SQL's "Select TOP 5 from..." in code. It
seems that the RowFilter property only allows you to filter as you would a
"WHERE" clause. Any ideas? Right now I'm looping through the view and
removing the extra row, but I imagine there's a better way.