Explain different methods and Properties of DataReader which
you have used in your project?
Answers were Sorted based on User's Feedback
Answer / rahul ecimt
method used
1.Getstring()
2.NextResult()
3.HasRows()
4.SchemaTable()
5.read()
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / tiger kumar
There are plenty of methods and properties in the datareader.
1.Read()
2.Load()
3.IsClosed
4.NextResult()
4.HasRows
6.GetString(),GetDecimal(),GetDouble(),etc..,
7.FieldCount
8.Close()
9.Dispose()
etc..,
| Is This Answer Correct ? | 3 Yes | 4 No |
Describe the command object and its method.
What is the default provider in ado.net?
How we can provide data to ado.net?
What is disconnected scenario in entity framework?
What is method to get XML and schema from Dataset?
What is untyped dataset?
Which object holds only data and does not interact with data source?
explain connection less and with connection?diference between data reader,data set,data adapter? can we use data reader,data set in a single application? if yes explain with simple code,if no explain?
What is disconnected data?
Which provider is used to connect ms access, oracle, etc…?
What does executereader return?
If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)