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
Can you please explain the difference between value and reference types?
What is econo-jit?
Explain strong name in .net assembly?
What is the importance of a Button control?
Why should you use delegate?
Write a VB.Net console program to check whether a number is perfect or not.
Name some of the keywords used in vb.net?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
Explain code security?
How many classes a dll can contain?
What are the advantages of migrating to vb.net?
What is difference between metadata and manifest?
List the two main parts of .net?
Explain nested classes?
Explain managed code?