Print Page | Close Window

Question about Progress Bar and Querying Database

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1976
Printed Date: 16-Apr-2024 at 4:01am


Topic: Question about Progress Bar and Querying Database
Posted By: BillG
Subject: Question about Progress Bar and Querying Database
Date Posted: 19-Jul-2010 at 11:50am
I have a form with a status bar that holds a progress bar. The user clicks a button on the form and I call a method in the controller class that queries the database and pulls back a entity list and then does a foreach through the entitylist processing the entity list. I would like to send a message back to the form so that each time I go into a new record in the foreach I can update the progress bar. Any suggestions how I can do this?
 
Bill
 



Replies:
Posted By: davidklitzke
Date Posted: 19-Jul-2010 at 3:16pm
If you do a separate save for each record, you can tie into either the Saved or Saving Event.  There are examples in Reference Help.



Print Page | Close Window