ADO.Net Interview Question and Answers

71. What is SqlConnection Object?
 
  • The connection object establishes connection with a database.
  • It includes the information that is required to connect with a database like the database server name, the database name, user name, password and other parameters.
 
Your Name Your Email-ID
Your Answer
72. What two classes are used to read data only?
 
  • SqlDataReader
  • OldDbDataReader
  • classes to read data in a forward directions only.
 
Your Name Your Email-ID
Your Answer
73. What is SqlCommand Object?
 
  • The command object is used for specifying the actions or commands to be executed on a database.
  • It uses the connection object for identifying the database on which to execute commands.
 
Your Name Your Email-ID
Your Answer
74. What is the use of System. XML namespace in ADO.Net?
  System. XML :
This contains the basic objects required to create read, store, write and manipulate XML documents according to W3C recommendations.
 
Your Name Your Email-ID
Your Answer
75. What is dataset Object?
 
  • The dataset object is used for manipulating a memory image of a database.
  • The database object that is loaded in memory and which is not connected with the physical database is managed or manipulated through the dataset objects.
 
Your Name Your Email-ID
Your Answer
123456789101112


13141516 Page 15 of 16