Re: Dataset refill issue - Stalls for 30 to 40 seconds

Tech-Archive recommends: Fix windows errors by optimizing your registry



It is right at 40 seconds. And it is ONLY the FIRST time I clear and refill
the dataset. All subsequent times, I very fast. The computer should be
plenty fast. It's a 2.8Ghz w/1Gb Ram machine, and 80gb of harddrive, so I
don't think that's the issue.

Thanks for the tip on the debugger, It did NOT throw any exceptions at the
spot that is hanging, but I found a couple of other minor things I can deal
with later.

Any more suggestions???

Thanks,
Jim


"Cor Ligthert" <notmyfirstname@xxxxxxxxx> wrote in message
news:ORiN6qjcFHA.3280@xxxxxxxxxxxxxxxxxxxxxxx
> Jay,
>
> Are you sure that it is 30 to 40 seconds. I have seen as well that fore
some
> handling in ADONET is unfortunaly used the exception handling. What gives
in
> some occasions strange behaviour. However 30 to 40 seems for me very much.
> It can be of course that you use a not very fast computer.
>
> The effect you describe is typicall for exception handling.
>
> This means not directly that you have errors. You can test it by using in
> the debugger by setting the radiobutton for "when the exception is thrown"
> to "break into the debugger". (after that you selected the section that
you
> are testing in the treeview above that).
>
> (And don't forget to set it back afterwards, there are more parts in .Net
> where this is used however than you will not be notice it. When you use
> VBNet than you can see that it is by instance used in the function
"IsDate",
> however than the effect is almost invisible.)
>
> I hope this gives some idea's
>
> Cor
>
>
>



.


Quantcast