.NETGURU
DataSet XML versus SQL datareader
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngspeed' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

James Yang
-- Moved from [aspngarchitecture] to [aspngspeed] by Charles M. Carroll <Click here to reveal e-mail address> --This is a multi-part message in MIME format.------=_NextPart_000_0048_01C1A5E1.DE0049B0Content-Type: text/plain;    charset="iso-8859-1"Content-Transfer-Encoding: quoted-printablewhat's faster?xml with datasetor=20sql server with datareaderim talking about small databas with 5 records=20------=_NextPart_000_0048_01C1A5E1.DE0049B0Content-Type: text/html;    charset="iso-8859-1"Content-Transfer-Encoding: quoted-printable<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=3DContent-Type content=3D"text/html; =charset=3Diso-8859-1"><META content=3D"MSHTML 6.00.2712.300" name=3DGENERATOR><STYLE></STYLE></HEAD><BODY bgColor=3D#ffffff><DIV><FONT face=3DArial size=3D2>what's faster?</FONT></DIV><DIV><FONT face=3DArial size=3D2>xml with dataset</FONT></DIV><DIV><FONT face=3DArial size=3D2>or </FONT></DIV><DIV><FONT face=3DArial size=3D2>sql server with datareader</FONT></DIV><DIV><FONT face=3DArial size=3D2></FONT> </DIV><DIV><FONT face=3DArial size=3D2>im talking about small databas with 5 =records=20</FONT></DIV></BODY></HTML>------=_NextPart_000_0048_01C1A5E1.DE0049B0--
Reply to this message...
 
    
Scott (VIP)
The SqlDataReader is always faster. However, it's not nearly as
flexible. You may switch from a DataSet to a SqlDataReader, and find
that it only makes a 2% perf difference on your page.

Scott Swigart
3 Leaf Solutions, LLC
www.3leaf.com
503-281-9681

[Original message clipped]

Reply to this message...
 
 
System.Data.DataSet
System.Data.SqlClient.SqlDataReader




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification