Home All Groups Group Topic Archive Search About

DataView to return x number of rows?

Author
15 Feb 2007 9:09 PM
retroman80s
Is there a way to set a dataview to return x number of rows?

If not, what is the best solution to accomplish this?


retroman80s
http://funkylist.com/ViewList.aspx?id=64&name=Everything+ASP.NET+2.0

Author
16 Feb 2007 9:40 AM
Miha Markic [MVP C#]
Add an int column, fill it with row numbers and filter on this column.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Show quote
"retroman80s" <retroman***@gmail.com> wrote in message
news:1171573791.127100.218730@p10g2000cwp.googlegroups.com...
> Is there a way to set a dataview to return x number of rows?
>
> If not, what is the best solution to accomplish this?
>
>
> retroman80s
> http://funkylist.com/ViewList.aspx?id=64&name=Everything+ASP.NET+2.0
>
Author
16 Feb 2007 2:12 PM
retroman80s
Show quote
On Feb 16, 4:40 am, "Miha Markic [MVP C#]" <miha at rthand com> wrote:
> Add an int column, fill it with row numbers and filter on this column.
>
> --
> Miha Markic [MVP C#, INETA Country Leader for Slovenia]
> RightHand .NET consulting & developmentwww.rthand.com
> Blog:http://cs.rthand.com/blogs/blog_with_righthand/
>
> "retroman80s" <retroman***@gmail.com> wrote in message
>
> news:1171573791.127100.218730@p10g2000cwp.googlegroups.com...
>
> > Is there a way to set adataviewtoreturnx number of rows?
>
> > If not, what is the best solution to accomplish this?
>
> > retroman80s
> >http://funkylist.com/ViewList.aspx?id=64&name=Everything+ASP.NET+2.0


That's a good idea, thanks,

retroman80s
***************
Everything ASP.NET 2.0
http://funkylist.com/ViewList.aspx?id=64&name=Everything+ASP.NET+2.0

AddThis Social Bookmark Button