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
What are all the parts of .net framework?
Which namespace are used for accessing the data?
What is the maximum size of the textbox?
How many ways the function can return values?
what is interface and when it is used?
What is tracing?
What is the use of errorprovider control?
Explain the differences between vb.net and c#, related to oops concepts?
Explain the difference between system.string and system.stringbuilder classes?
Explain the difference between an xml "fragment" and an xml "document."
What is the role of new keyword?
Which is the tool which can convert visual basic old version to .net compatibility version?
Define cls?
What is redim keyword and its use?
what is intermediate language?