Re: Processing or wait control
- From: Chris <no@xxxxxxxx>
- Date: Tue, 14 Mar 2006 14:20:00 -0500
Vish wrote:
Hi,
Is there a processing or wait control in .NET that i can display to the user
when large amounts of data are loaded from the database. Since i cant use the
progress bar since i dont know how much data is loaded from the database.
Thank you,
Vish
You can use a poor-man's progress bar that cycles, when it gets to the
end start over. At least this way the user knows the system is still
going. The other option would be to make a call to the DB to get the
number of records, then use a datareader to load the data from the
database. This way you can incriment the progress bar in your
datareader loop and it will be acturate.
The other issue you are going to have is the responsiveness of the UI
during a CPU intensive action. The way to fix this is to load the data
in a worker thread.
Hope it helps
Chris
.
Relevant Pages
- Re: I cant see my Form
... I'm loading a form who connect to my database and ... > retrieve all the information from a table, then I show a progress bar ... > that show de progress of the load job, but the problem is that I ... (microsoft.public.vb.general.discussion) - I cant see my Form
... I'm loading a form who connect to my database and retrieve all ... progress of the load job, but the problem is that I can't see my form when he ... connection end the load work inmediatly appear my form with the progress bar ... (microsoft.public.vb.general.discussion) - Re: Generating one table with a terabyte of data
... I didn't know we could split a database file group over multiple HDs. ... > Run perfmon counters to a log and analyze them after a bulk load. ... Another thing is to split the updates across file sets. ... >> loading of daily data in the fastest time. ... (microsoft.public.sqlserver.dts) - Re: ORACLE RAC and ORACLE Standby
... standby is better for disaster recovery and RAC is ... with taking any downtime on your primary database instance. ... The standby database provides a local or off-site recovery instance. ... Load balancing capabilities of RAC include ... (comp.databases.oracle.server) - Re: Poser? What happens to empty pages in a database unload/load?
... At my company, several time each weekend, a database is unloaded at ... squeezed out of the load. ... I unload the table and load it back and now all those empty pages are ... Art S. Kagel ... (comp.databases.informix) |
|