skip to main
|
skip to sidebar
Dot Net Interview Question & Answers, Dot Net
Home
Business
Downloads
Parent Category
Featured
Health
music
politics
Uncategorized
Wednesday, December 7, 2011
Difference between Execute Scalar and Execute Reader
8:47 AM
No comments
What is the difference between Execute Scalar and Execute Reader?
Execute Reader..
1.Returns a datareader with data.
2.It is done by command object.
3.It is readonly.
4.It executes only select command.
5. This is known as a forward-only retrieval of records.It uses your sql statement to read through the table from the first to the last.
Execute NonQuery..
1.It will not return any data.
2.It is used with insert and update.
3.It returns only the number of rows affected.
Execute Scaler..
1.It returns only one value.
2.That value will the first column first row value.
Execute Query..
1.Its for command objects.
2.It returns the value given by database through select statement.
Posted in:
Ado.net
Email This
BlogThis!
Share to X
Share to Facebook
Newer Post
Older Post
Home
0 comments:
Post a Comment
Subscribe to Our RSS feed!
Follow Us on Twitter!
Recent Posts
Popular Posts
Difference between Execute Scalar and Execute Reader
What is the difference between Execute Scalar and Execute Reader? Execute Reader.. 1.Returns a datareader with data. 2.It is done by com...
CONCEPTS OF OBJECT ORIENTED PROGRAMMING
CONCEPTS OF OBJECT ORIENTED PROGRAMMING: 1.Class 2.Object 3.Inheritance 4.Interface 5.Abstract Class 6.Overriding 7.Polymorphism (or ) Over...
What’s New in Visual C# 4.0
Visual C# version 4.0 offers new features that make it easier for you to work in dynamic programming scenarios. Besides dynamic programming,...
Difference between string and string builder
In Dot Net there will be many cases where in we need to operate on strings and first thing we remember is using system.String but there are...
How to implement Custom Paging in ASP.Net GridView control
Require for Custom Pagination ASP.Net GridView fetches all the records and then displays one page from the fetched records. Thus for illustr...
A Simple ASP.NET MessageBox Class
When moving from Windows Forms to ASP.NET Web Forms, an API that may be missed is that offered by the System.Windows.Forms.MessageBox Clas...
Visual Studio Keyboard Shortcuts
Visual Studio 2003 & 2005 Default Keyboard Shortcuts Text Manipulation Copy Ctrl + C Cut Ctrl + X Paste Ctrl + V Undo Ctrl + Z Red...
Page Life cycle in asp.net
Event Life cycle of ASP.NET 2.0 To track the flowing of events in web application, you need to add “trace = true” in page directive as sho...
Reverse string Program in c#
1st Method public string Reverse(string str) { int len = str.Length; char[] arr = new char[len]; for (int i = 0; i < len; i++) {...
Liimrasoft Academy - Online IT Courses Training
At LiimraSoft Academy , we are dedicated to providing unparalleled opportunities for professional growth and advancement in the ever-evolvin...
Categories
Ado.net
(4)
Asp.net
(8)
CSharp
(3)
FrameWork
(2)
Linq
(1)
Oop
(4)
Program
(2)
Share Point
(1)
Shortcuts
(1)
Silverlight
(1)
Tutorial
(3)
VS
(1)
Blog Archive
►
2024
(1)
►
April
(1)
►
2012
(5)
►
February
(1)
►
January
(4)
▼
2011
(25)
▼
December
(25)
Difference between Execute Scalar and Execute Reader
Difference between for and foreach loop in c#
Difference between an abstract class and interface...
Page Life cycle in asp.net
multiple catch blocks in a single try statement
Asp.net Cross-Page PostBack example & Post Back
Ways To Optimize C# Code
Dot Net Video Tutorial
Ado.net Interview Question
Visual Studio Keyboard Shortcuts
C sharp Sample Programs
A Simple ASP.NET MessageBox Class
Online Course ASP.NET 4
ASP.Net Interview Questions for 1 Year Experience
What’s New in Visual C# 4.0
What is LINQ
SharePoint Interview Questions
How to implement Custom Paging in ASP.Net GridView...
Difference between string and string builder
What is connection object
What is a Linked Server
.net Interview Question and answers
what is bubbled event
What is Silverlight
Difference between string and string builder
Download
Design by
Free WordPress Themes
| Bloggerized by
Lasantha
-
Premium Blogger Themes
|
SharePoint Demo
Internet
Market
Stock
Dvd
Games
Software
Office
Child Category 1
Child Category 2
Child Category 3
Child Category 4
Sub Child Category 1
Sub Child Category 2
Sub Child Category 3
Childcare
Doctors
0 comments:
Post a Comment