Link to home
Start Free TrialLog in
Avatar of siacom
siacomFlag for Australia

asked on

Datagrid for Visual Basic .NET

Using the automated methods eg:  Me.CustomersTableAdapter.Fill(Me.DsCustomers.Customers)

is there a way to find out when the the fill is finished  ?

 me.CustomersTableAdapter.filled ? :)

the reason for asking is to show a progress bar during the process.


ASKER CERTIFIED SOLUTION
Avatar of doraiswamy
doraiswamy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of siacom

ASKER

thank you that answers part of it...

But at which point will the program know when the dataset is filled. ?
so that I can stop the timer.



SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks.
Let me know if it worked as you wanted it to.
Avatar of siacom

ASKER

A problem I have is that the progressbar stop even while the timer (thread) is running and then fills when the datagrid is filled.

I have tried so many scenarios placing the timer before the fill, filling within another thread. No matter what I try, there is always some sort of glitch to showing progress while filling.

At the moment I'm back to square one searching on the net for some answer to showing progress while filling a datagrid.