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 |
Which dll is used for microsoft .net run time?
What are the technology areas that microsoft.net contains?
What is the difference between convert.tostring and .tostring() method?
what is common language specification?
What are the differences between server-side and client-side code?
Explain managed code?
What is the purpose of objects present in asp.net?
is ADO.NET important to connect sql server? is any other way to connect sql server?
Explain the difference between vb 6 and vb.net?
How to view an assembly?
How do you call a stored procedure in Visual Basic?
Explain about Visual basic.NET culture?