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 |
I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?
About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data ?
How is entity framework different from ado.net?
what is the syntax code for oldb to connect oracle
What is difference between entity framework and ado.net?
Define data access layer?
How to add a javaScript function in a datagrid?
what is Execute NOn Query?
29 Answers Infosys, Protech, Sars Systems, SwanSoft Technologies,
Can we connect two dataadapters to same data source using single connection at same time?
List the 4 common ado.net namespaces?
What is the provider being used to access oracle database?
How do we invoke queries from the application
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)