Re: Paging Data
From: Jerry Pisk (jerryiii_at_hotmail.com)
Date: 05/16/04
- Previous message: Dave: "Re: application Exceptions"
- In reply to: Jeff Haumesser: "Paging Data"
- Next in thread: Jeff Haumesser: "Re: Paging Data"
- Reply: Jeff Haumesser: "Re: Paging Data"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 15 May 2004 21:06:28 -0700
There are actually number of ways to handle this. One is to handle paging in
your stored procedure (which is, at least imho, the preffered way, using the
least resources). Another (one probably used in what you're describing) is a
server side cursor, so the client only receives data when it moves to the
next record, as oposed to having to load all data first.
Jerry
"Jeff Haumesser" <haumesser@karpel.com> wrote in message
news:uKi69IpOEHA.3744@TK2MSFTNGP11.phx.gbl...
> Good Morning:
>
> Oracle has a feature on a form that allows the user to Page through
> large Recordsets at certain number of records at a time in a list or grid.
> For instance, when the user wants to view ALL the records of a table or
> view, the first chunk is Immediately displayed. As the user scrolls down
or
> pages down, the next chunks are displayed accordingly. Therefore, the
> records are displayed almost instantaneasly, but only chunks at a time.
It
> doesn't have to wait for ALL the records to load into memory before
> displaying them.
>
> I would like to do essentilaly the same in VB .NET. I have a listbox
or
> datagrid. The user, at times, would like to browse all the records of a
> table or query that will ultimately result in 70,000+ records. However,
the
> time to load these records is horrendous due to a narrow bandwidth
> connection of some locations.
> I am currently using a Stored Procedure to load these records into a
> Dataset then setting the List Datasource to that Dataset table.
>
> Does anyone have any ideas that would work along these lines?
>
> Thankyou in advance,
>
> Jeff
>
>
- Previous message: Dave: "Re: application Exceptions"
- In reply to: Jeff Haumesser: "Paging Data"
- Next in thread: Jeff Haumesser: "Re: Paging Data"
- Reply: Jeff Haumesser: "Re: Paging Data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|