Asynchronous data loading


Author
Message
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I created a BO which subclass BusinessLayer. I created FillAll() method which will load data from external source (not database). The data loading might take 30 seconds. The reason I put this code in BO is to ease data binding.



I would like to have async data loading for this. When form loaded, combobox should show "loading ..." as display value. Then program would call BO.FillAll() to query data from external source. Once complete, I want combobox to show "Please select a value" with a list of record.



How could I do this?



Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search