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 is the strong name in .net assembly?
Thank you for replying to my Question regarding Barcodes in VB.net. My next question is that how to use Barcode Fonts in VB.net I need a small code to Generate Barcodes in VB.net from a string of Values. This is the only problem i am left with in my project. Any body can help me please.
Explain the difference between datatable and dataset?
What are the advantages of vb.net and c#?
Explain the difference between int and int32?
What is sorting in vb?
How do you use two datareaders at the same time in a vb.net windows application ?
What are the difference between dispose(), close(), exit(), end()?
what is difference between web.config and machine.config and where it will be ?
Explain the differences between vb.net and c#, related to oops concepts?
What are nested classes?
what is commom language runtime?
what is common language specification?
Using VB, how can you change the Mouse Pointer?
What is the difference between .dll extension and .exe extension files?