Jan 23, 2006 #1 HomerJS Programmer Joined Jun 25, 2001 Messages 86 Location US I am using vb.net 2003 and want to use a progress bar while a dataset is loaded. The dataset is bound to a grid which does take some time to load.
I am using vb.net 2003 and want to use a progress bar while a dataset is loaded. The dataset is bound to a grid which does take some time to load.
Jan 23, 2006 #2 ca8msm Programmer Joined May 9, 2002 Messages 11,327 Location GB Do you know exactly how many records will be returned? ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
Do you know exactly how many records will be returned? ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.
Jan 23, 2006 Thread starter #3 HomerJS Programmer Joined Jun 25, 2001 Messages 86 Location US It will vary. Upvote 0 Downvote
Jan 23, 2006 #4 ca8msm Programmer Joined May 9, 2002 Messages 11,327 Location GB So how would you know exactly what percentage you had returned in order to set the progress bar? I'm sure you know where I'm going with this question... ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
So how would you know exactly what percentage you had returned in order to set the progress bar? I'm sure you know where I'm going with this question... ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.
Jan 23, 2006 Thread starter #5 HomerJS Programmer Joined Jun 25, 2001 Messages 86 Location US That's a question I had myself, and why I asked it. Upvote 0 Downvote
Jan 23, 2006 #6 ca8msm Programmer Joined May 9, 2002 Messages 11,327 Location GB That was actually a rhetorical question. If you don't know what percentage of records have been returned you cannot create a true progressbar. ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results. Upvote 0 Downvote
That was actually a rhetorical question. If you don't know what percentage of records have been returned you cannot create a true progressbar. ____________________________________________________________ Need help finding an answer? Try the Search Facility or read FAQ222-2244 on how to get better results.
Jan 23, 2006 Thread starter #7 HomerJS Programmer Joined Jun 25, 2001 Messages 86 Location US So how would it be done if the number of records returned was known? Upvote 0 Downvote
Jan 23, 2006 #8 TekMem Programmer Joined Jul 23, 2004 Messages 98 Location CA Is it possible to count total records using select statement count (*) ...Prior to loading Dataset? Upvote 0 Downvote
Jan 23, 2006 Thread starter #9 HomerJS Programmer Joined Jun 25, 2001 Messages 86 Location US yes Upvote 0 Downvote