ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Why Datareader is useful?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Why Datareader is useful?
Answer
# 1
Data reader is usefull when we just want to acccess datas 
from the database not when we want to perform DML 
operations. and  It is usefull when we want to perform 
forward only reading of datas.It wont requires any 
large volume of resources in the Front end.
 
Is This Answer Correct ?    2 Yes 1 No
Manikandan
 
  Re: Why Datareader is useful?
Answer
# 2
Datareader is read only or forward only.So it is very fast 
to fetch the data from database.
 
Is This Answer Correct ?    3 Yes 0 No
Kamalakannan.a
 
 
 
  Re: Why Datareader is useful?
Answer
# 3
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 ?    0 Yes 1 No
Payal
 
  Re: Why Datareader is useful?
Answer
# 4
its connection oriented architecture.
 
Is This Answer Correct ?    2 Yes 0 No
Bhushanam
 
  Re: Why Datareader is useful?
Answer
# 5
Datareader is used to fetch the data frm data source
 
Is This Answer Correct ?    1 Yes 0 No
Anitha
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
What are Major Feature of VB.NET Over C#.NET  9
What is the Common Language Runtime? Ksb8
what are the types of threading models in VB.net ? Satyam1
Hi I am planning to take interview in VB.net,can any one share your interview Questions for a Entry-level job. Regards Lina  3
What is the Difference between Overriding and overloading?  11
There are three versions of VB6--Learning Edition, Professional and Enterprise. Is VB.Net similar?  1
What is MSIL. HDFC3
How do you rate yourself in .NET ? Infosys3
Advantage of vb.net over vb ? Digital-GlobalSoft5
What is the Difference between Web User Control and Web Custom Control?  5
How is VB.Net different from VB6? Ksb7
what is the dif b/w panel and groupbox. Ksb3
diff b/w windows and console application?  2
what r the properties should be given to set method? PSI-Data-Systems2
1234 123 12 1 how to design above pic in vb.net? ABC2
how to connect crystal report with vb.net ? Patni6
Where would you use Abstract class and Interface?  2
What are the similarities between class and structure? Ksb5
Is there any easy way to convert VB6 programs to VB.Net?  3
Disadvantages of vb ? Digital-GlobalSoft4
 
For more VB.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com