Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 4th, 2007, 05:42 AM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mfarooqw
Default ExcecuteScaler and ExcecuteReader method

Hi,
I have some problem about command object properties, that is ExcecuteScaler, EcxecuteReader and ExecuteNonQuerry method. I have not cleared the difference b/w them. When and where which of these property is used in the application. Plz explanin these objects clearly.
Thanks


 
Old June 4th, 2007, 06:36 AM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well.. u really should read about those in the MSDN, that can give u much more information that what I will :) but anyway.. it's as simple as this.
Excute Scaler: returns only one value.. such as count(), Max(), Min().. etc (first row, first column)
ExecuteNonQuerry: for Insert/update/delete etc.. commands and it returns an int which represents the number of rows effected.
EcxecuteReader: returns a set o rows (one at a time) which are read only and u can view them one at a time.

:) hope i can help :)

Nothing is impossible. The impossible only takes longer. "Digital Fortress, Dan Brown"
 
Old June 4th, 2007, 07:33 AM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to mfarooqw
Default

Thanks to help,
Actually i have already read this topics in msdn, but there is bulk of explnation, that i could not understand. Now my concept is much clear about these properties.
Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
About Method VeradisSanthanam ASP.NET 2.0 Basics 1 June 19th, 2007 06:52 AM
method amit_p_patel VB How-To 2 May 25th, 2007 01:46 AM
Why is this method placed in filip BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 August 25th, 2006 09:40 PM
Best method rastham SQL Server 2000 2 February 16th, 2006 12:59 AM
Method StanArtis BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 6th, 2004 06:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.