Could be a few things, but first, I'd try setting the BeginLoadData to false
at the onset, then turning it back on
http://msdn.microsoft.com/library/de...classtopic.asp
--
W.G. Ryan MVP (Windows Embedded)
TiBA Solutions
www.tibasolutions.com |
www.devbuzz.com |
www.knowdotnet.com
"J. Clay" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a typed dataset with three tables, one master and to child. This
is
> a contact management app, so I pull all of an organization contacts and
> associated details into the set. (Anywhere from 1 to 100 contacts and
their
> associated detail). My form is bound to the dataset using VS2003 form
> designer.
>
> When I want to go to a contact in a different organization, I am trying to
> do the following:
>
> 1) Clear the dataset using dataset.clear(0)
> 2) Refill The dataset with the new organization info using the original
> adapters with the single paramete changed.
> 3) Use the CurrencyManager to find and set as current the specific contact
I
> am going to
>
> This works fine except one MAJOR issue - I can fill the original set and
go
> to the contact fine. But, as soon as I try and change contacts, it hangs
> for about 30 to 40 seconds before continuing on. After this first change,
> it works great, with no delay. It is just in the FIRST clear and refill
> that causes this issue.
>
> I have tracked it down to specifically the Master table, but clearing each
> table individually. I have even gone as far as to delete each row of the
> master table individually, and it appears that it is hanging on the
current
> row. I have tried using SuspendBinding and ResumeBinding, but this did
not
> help.
>
> If anyone has some ideas, I would greately appreciate it.
>
> TIA,
> Jim
>
>
>