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
How do you define a read only property in a class module?
What is difference between inline and code behind?
what is the advantage of option strict on?
Tell me how many .net languages can a single .net dll contain?
What is early binding?
Explain the difference between system.string and system.stringbuilder classes?
Why should you use delegate?
What is the class that allows an element to be accessed using unique key?
Explain the advantage of option strict on?
What is different between web.config and machine.config and where it will be ?
Name a feature which is common to all .net languages?
What are the different types of Lock available in Visual Basic?
i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?
What is strong typing and weak typing?
difference between checkbox vs radiobutton??