Why Datareader is useful?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / anitha
Datareader is used to fetch the data frm data source
Is This Answer Correct ? | 2 Yes | 0 No |
Explain the difference between vb.net and c#, related to oops concepts?
Explain about rapid application development tool?
what is diffrence constructor and destructor in vb
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
What are the similarities between class and structure?
What is the difference between import system.data.sqlclient and system.data.oledb?
What is the advantages of VB.NET?
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
What is the use of errorprovider control?
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
What is the difference between Namespace and Assembly?
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