Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am still using VS.NET 2002 and I found that the DataSet is very slow (few times slower) compare with others when handling database records.

 

Anyone face the same problem as me? Is it problem of .NET Framework 1.0? Does .NET Framework 1.1 solve this problem or still same?

 

TQ

Posted
No I don't think so. Slow compared to what? And what part of it is slow? All of it or just the part when you are loading data from a select query? If that is the case then I would recommend checking your select Query's performance. I have seen other data access tools work faster, but the dataset offers lot's of nice features that make it worth using (not to mention it hooks right into the rest of the managed code in .NET). If you are considering going back to disconnected recordsets in ADO 2.6 or 2.7 keep one thing in mind, that using an interop wrapper for this will not only hurt the performance of your application, it may even make it worse because your calls now have to pass through a Runtime Callable Wrapper (RCW). In order to make method calls to a COM interface. This is not a good solution by any means.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...