Re: sql query in real time...ajax?
- From: mattdaddym@xxxxxxxxx
- Date: 19 Apr 2007 11:52:13 -0700
On Apr 19, 1:15 pm, "George Ter-Saakov" <gt-...@xxxxxxxxxxx> wrote:
Sound like to much effort for something small.
So far all I saw is approximations.
Like we know that on average we get 100 rows per second so if you have 1000
records will be uploaded in 10 seconds.
If user gets lucky and it ends in 9 seconds then you finish your bar early
and user happy.
If not lucky then you simply push that indicator a little back.
You should be familiar with this approach if you ever tried to Copy/Delete a
lot of files in Windows.
George.
<mattdad...@xxxxxxxxx> wrote in message
news:1176999897.237315.167340@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I'm looking for a way to show my users the progress of their sql
queries. I've implemented Microsoft Ajax in order to show a progress
bar, but I would love to be able to show:
number of rows loaded vs total rows
I tried a few searches for this, but haven't come up with the right
key words I guess. Right now I have zilch. So, it's easy enough to get
a count of the total rows before starting. I guess I need to query the
datasource every .5 to 1 second and display how many rows it has
retrieved already. This way the user has some idea how long the whole
thing is going to take.
Any ideas?
Thanks in advance.
Don't talk to me about Windows OS progress bars....lol.
I don't know...this seems like basically the same concept of a
download progress bar, except instead of file sizes we are looking at
a database query. Also, it is a lot of effort...the first time. After
that, it's gravy. Thanks for your time.
.
- References:
- sql query in real time...ajax?
- From: mattdaddym
- Re: sql query in real time...ajax?
- From: George Ter-Saakov
- sql query in real time...ajax?
- Prev by Date: Re: Delegates, Events and the Page Lifecycle
- Next by Date: Setting a 'wait' cursor
- Previous by thread: Re: sql query in real time...ajax?
- Next by thread: Re: sql query in real time...ajax?
- Index(es):
Relevant Pages
|