Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / April 2006

Tip: Looking for answers? Try searching our database.

typed dataset and untyped dataset, which one is faster?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Napo - 10 Apr 2006 04:27 GMT
typed dataset and untyped dataset, which one is faster?
I think the answer is typed, but some one told me is untyped.
Who can tell me the answer and the reason?

thanks
OHM ( One Handed Man ) - 10 Apr 2006 06:01 GMT
There would be some marginal difference, but you are unlikely to notice it.
Using strongly typed DataSets make your coding cleaner, safer and more
readable

Signature

( OHM ) - One Handed Man
AKA Terry Burns - http://TrainingOn.net

> typed dataset and untyped dataset, which one is faster?
> I think the answer is typed, but some one told me is untyped.
> Who can tell me the answer and the reason?
>
> thanks
Cor Ligthert [MVP] - 10 Apr 2006 07:13 GMT
Napo,

In the use of the Strongly Typed Dataset is a use that is seldom done with
the typed dataset.

That is referencing the columns by the column property instead of string and
index.

That makes de Strongly Typed Dataset by testing mostly slightly faster. As
OHM says is the gain of time so few, that any thinking about this cost more.

Just my idea

Cor

> typed dataset and untyped dataset, which one is faster?
> I think the answer is typed, but some one told me is untyped.
> Who can tell me the answer and the reason?
>
> thanks
OHM ( One Handed Man ) - 10 Apr 2006 18:28 GMT
I use it exclusively.

Signature

( OHM ) - One Handed Man
AKA Terry Burns - http://TrainingOn.net

> Napo,
>
[quoted text clipped - 17 lines]
>>
>> thanks
W.G. Ryan - MVP - 10 Apr 2006 13:50 GMT
It depends. There's a lot of debate about this. Strongly typed datasets have
a lot of advantages with respect to typing, but as such, have a lot of
try/catch blocks and exception handling that can slow them down. However in
all likelihood, you're going to have to write the same stuff yourself so it
really depends.  It's not an apples to apples comparison until you factor in
the exception handling.
> typed dataset and untyped dataset, which one is faster?
> I think the answer is typed, but some one told me is untyped.
> Who can tell me the answer and the reason?
>
> thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.