Why Datareader is useful?

Answers were Sorted based on User's Feedback



Why Datareader is useful? ..

Answer / kamalakannan.a

Datareader is read only or forward only.So it is very fast
to fetch the data from database.

Is This Answer Correct ?    4 Yes 0 No

Why Datareader is useful? ..

Answer / manikandan

Data reader is usefull when we just want to acccess datas
from the database not when we want to perform DML
operations. and It is usefull when we want to perform
forward only reading of datas.It wont requires any
large volume of resources in the Front end.

Is This Answer Correct ?    4 Yes 1 No

Why Datareader is useful? ..

Answer / bhushanam

its connection oriented architecture.

Is This Answer Correct ?    3 Yes 0 No

Why Datareader is useful? ..

Answer / 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

Why Datareader is useful? ..

Answer / anitha

Datareader is used to fetch the data frm data source

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More VB.NET Interview Questions

Explain the difference between vb.net and c#, related to oops concepts?

0 Answers  


Explain about rapid application development tool?

0 Answers  


what is diffrence constructor and destructor in vb

0 Answers   MCN Solutions,


hello friends, I have created a animated button in VB.NET. As its dll file coding can be viewed and also copied to some other location. So my question is how can I protect the Dll file of the animated button so that noone can access it. Any idea about this???????? Thanks Rekha

3 Answers  


What are the similarities between class and structure?

5 Answers   Ksb, L&T,






What is the difference between import system.data.sqlclient and system.data.oledb?

0 Answers  


What is the advantages of VB.NET?

0 Answers   NA,


i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate

0 Answers  


What is the use of errorprovider control?

0 Answers  


hello dear friends my problem is that i want to save images that is pictures in SQL server using vb.net can any body help me to do so please

1 Answers  


What is the difference between Namespace and Assembly?

0 Answers  


i could not run my application in any computers if i want to run it i have to install the full version of visual studio 2005. it is really hard and feel embarrassing in front of the people though i installed .net framework where goes wrong

1 Answers  


Categories