Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why Datareader is useful?

Answer Posted / payal

1)it is used for forward record only.

2)we cannot update or save

3)speed is fast than dataset

4)not persist any record

5)it is usefual in case of display data according to
critiera on form using control like textbox,label etc.

who to use

in vb.net
dim sqlcmd as new sqlcmd("select ename from tblemp where
empid=5;
dim dr as new dataReader
dr=sqlcmd.executeReader()
if dr.hasRows then
txtbox1.text(dr("ename"))
end if

this display ename in textbox.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between value and reference types?

971


What is econo-jit?

1217


Explain strong name in .net assembly?

1037


What is the importance of a Button control?

1353


Why should you use delegate?

959


Write a VB.Net console program to check whether a number is perfect or not.

7884


Name some of the keywords used in vb.net?

1071


Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?

2423


Explain code security?

978


How many classes a dll can contain?

1030


What are the advantages of migrating to vb.net?

1039


What is difference between metadata and manifest?

1154


List the two main parts of .net?

1119


Explain nested classes?

1031


Explain managed code?

990