๐Ÿงช ADO.Net MCQ Quiz Hub

ADO.Net Mcq Question Set 1

Choose a topic to test your knowledge and improve your ADO.Net skills

DateSet contains one or more DataTables?





โœ… Correct Answer: 1

Can we use DataView to Filter rows in a DataTable?





โœ… Correct Answer: 2

Which method is used to retrieve the single value?





โœ… Correct Answer: 1

How to load XML in DataSet?





โœ… Correct Answer: 1

Which method is used to fill DataSet?





โœ… Correct Answer: 2

Which object is used to Fill DataSet using the query in SQL Server?





โœ… Correct Answer: 3

Which object will be used to sort the data of DataSet?





โœ… Correct Answer: 1

DataSet object is





โœ… Correct Answer: 1

Which is Read-only forward-only recordset?





โœ… Correct Answer: 2

Which namespace is used to fetch data from Oracle database?





โœ… Correct Answer: 3

Which ADO.net object is very fast to get data from the database?





โœ… Correct Answer: 3

What is the default specified timeout period for "SQLCommand.CommandTimeout" property?





โœ… Correct Answer: 1

What is the Full form of ADO.Net?





โœ… Correct Answer: 2

Which Adapter is used to get the data from the Access Database?





โœ… Correct Answer: 2

Which ADO.Net class provides a connected environment?





โœ… Correct Answer: 2

When to use the OleDbConnection object?





โœ… Correct Answer: 3

Which is the return type of the ExecuteScalar class?





โœ… Correct Answer: 2

Which are command object methods?





โœ… Correct Answer: 4

Which of the following is the benefit of the ADO.Net?





โœ… Correct Answer: 4

ADO.Net provides the ability to process and create an in-memory database which is called





โœ… Correct Answer: 1

It is not required to open the connection when I am using DataAdapter.





โœ… Correct Answer: 1

Which CommandType is used to define the StoredProcedure?





โœ… Correct Answer: 1

Which namespace is used to access the connection string from the Web.Config file?





โœ… Correct Answer: 3

SqlConnection object is used for?





โœ… Correct Answer: 3

Which method is suited best when we have aggregate values in the SELECT statement?





โœ… Correct Answer: 1

On which object we set the properties to create a primary key for DataTable?





โœ… Correct Answer: 1

Which of the following are the events of the DataTable object?





โœ… Correct Answer: 4

Which Data Provider gives the maximum performance when connected to SQL Server?





โœ… Correct Answer: 1

If we want that the command object should return XML data then which Command object will be used?





โœ… Correct Answer: 3