Jack Jackson
2/4/2008 5:26:00 PM
I rarely have a large number of records in a datatable, so refreshing
doesn't take a noticeable amount of time.
On Mon, 4 Feb 2008 14:44:30 -0000, "John" <John@nospam.infovis.co.uk>
wrote:
>This must be a very common scenarios.What do other people do to achieve
>this?
>
>Thanks
>
>Regards
>
>"Jack Jackson" <jjackson@cinnovations.net> wrote in message
>news:uebdq3t7d5its5c5v5vg5sp27bkujo1mn5@4ax.com...
>> On Mon, 4 Feb 2008 01:53:48 -0000, "John" <John@nospam.infovis.co.uk>
>> wrote:
>>
>>>Hi
>>>
>>>I have a winform db app that is "bound" to a dataset...via data adpater,
>>>binding source and all that. As this is a multi-user app I need to refill
>>>dataset from time to time so the newest data is available for user to
>>>view.
>>>My problem is that I
>>>
>>>a) do not wish the app to become unresponsive while re-fill is being
>>>performed so need to do it as background task if possible.
>>>
>>>b) do not want the record context to change for user so user does not
>>>notice
>>>any disruption.
>>>
>>>My question is, are the above possible? If so, how? If not what is an
>>>alternate strategy?
>>
>> No matter how you refill the dataset, while it is refilling the user
>> will see effects in the bound controls.
>>
>> It might be better if you have two datasets. Bind one to the
>> controls, then refill the other. When it is refilled switch the
>> binding.
>>
>> I have no experience with trying to fill a dataset asynchronously and
>> don't know if it is possible.
>