Is this possible?

G

Guest

Hi,
I am populating a dataset from a webservice. One one page of my app I need
to get only the first 5 rows from the dataset to pupulate a datagrid and on
another page I then will display all the rows from that dataset in a grid. Is
it possible to select a specific amount of rows from the dataset? Please
don't tell me to use the TOP in a select statement. Remember I am calling a
webservice.

Thanks

I am posting this also in the ado.net section
 
S

Steve C. Orr [MVP, MCSD]

Once you have the DataSet you can filter out any rows you want using a
DataView.

If you want the web service to only send 5 rows, then the web service must
support such custom functionality.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top