skip to main
|
skip to sidebar
Dot Net Interview Question & Answers, Dot Net
Home
Business
Internet
Market
Stock
Downloads
Dvd
Games
Software
Office
Parent Category
Child Category 1
Sub Child Category 1
Sub Child Category 2
Sub Child Category 3
Child Category 2
Child Category 3
Child Category 4
Featured
Health
Childcare
Doctors
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
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,...
Ado.net Interview Question
ExecuteReader : Use for accessing data. It provides a forward-only, read-only, connected recordset. ExecuteNonQuery : Use for data manip...
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...
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...
Palindrome Program in C#
How to Write a Palindrome Programme using C# ? using System; using System.Collections.Generic; using System.Text; namespace ConsoleAppli...
ASP.NET Keyboard Shortcut
Mostly used shortcut key in ASP.NET 2.0 for saving your time Ctrl+M+L to toggle all (collapse and explore) code block. Ctrl+M+O to colla...
What is connection object
Connection object is responsible for creating a connection to the database. If u want to do any operation in database first we need to cre...
Asp.net Cross-Page PostBack example & Post Back
Post Back means sending the data to server and return the data in same page. Cross-Page Post Back means sending the data from one page to...
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...
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
0 comments:
Post a Comment