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 tracing?
What is the difference between convert.tostring and i.tostring method?
What is the difference between system.applicationexception class and system.systemexception?
Is vb.net dead?
What are the difference between dispose(), close(), exit(), end()? When do we use them?
What is the advantages of VB.NET?
Write a program to find all text files in a logical drive and return the count of the number of files?
Explain the difference between web.config and machine.config and where it will be ?
Explain the difference between dispose and finalize()?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
How do you call a stored procedure in Visual Basic?
Explain the use of new keyword?
What do you mean by option strict on?
What is late binding?
What languages does the .net framework support?