How to load XML in DataSet?
1.Using the ReadXml method
2.Using the GetXml method
3.Both of the above
4.none of the above
ADO.Net provides the ability to process and create an in-memory database which is called
1. DataSets
2. Views
3.Tables
4. Relations
Can we use DataView to Filter rows in a DataTable?
1. Yes by setting Filter property
2. Yes by setting FilterRow property
3. Yes by setting the SetFilter method
4.none of the above
DataSet object is
1.disconnected
2. connected
3.Can't say
4.none of the above
DateSet contains one or more DataTables?
1.True
2.False
3. Can't say
4.none of the above
If we want that the command object should return XML data then which Command object will be used?
1.GetXMLData
2.GetXml
3.ExecuteXmlReader
4.none of the above
It is not required to open the connection when I am using DataAdapter.
1. True
2. False
3.all of the above
4.None of the mentioned
On which object we set the properties to create a primary key for DataTable?
1.DataSet
2.DataTable
3.DataRelation
4.DataColumn
SqlConnection object is used for?
1.MySql database
2. Oracle database
3.Microsoft SQL Server database
4.Access database
What is the default specified timeout period for "SQLCommand.CommandTimeout" property?
1.30 seconds
2.60 Seconds
3. 90 Seconds
4.120 Seconds
What is the Full form of ADO.Net?
1.Active Display Object
2.ActiveX Data Object
3. Asp Data Object
4.Active Dot Object
When to use the OleDbConnection object?
1.When we want to connect to the Oracle database.
2.When we want to connect to the Sql server database
3.When we want to connect to Office Access database
4.none of the above
Which Adapter is used to get the data from the Access Database?
1.DataAdapter
2.OledbDataAdapter
3.SQLDataAdapter
4.OracleDataAdapter
Which ADO.Net class provides a connected environment?
1.DataSet
2.DataReader
3.Both
4.None of the mentioned
Which ADO.net object is very fast to get data from the database?
1.SqlDataAdapter
2.DataSet
3.SqlDataReader
4.none of the above
Which are command object methods?
1.ExecuteScalar
2. ExecuteNonQuery
3.ExecuteReader
4.All of the above
Which CommandType is used to define the StoredProcedure?
1.Command.TableDirect
2.CommandType.StoredProcedure
3.CommandType.TableDirect
4.Command.Stored
Which Data Provider gives the maximum performance when connected to SQL Server?
1. SqlClient Data Provider
2. OLEDB Data Provider
3.Oracle Data Provider
4.All of the above
Which is Read-only forward-only recordset?
1.DataSet
2.DataReader
3. DataAdapter
4.DataCommand
Which is the return type of the ExecuteScalar class?
1.System.Int32
2.object
3.Both
4.none of the above
Which method is suited best when we have aggregate values in the SELECT statement?
1.ExecuteScalar()
2.ExecuteNoQuery().
3.ExecuteReader()
4.None of the above
Which method is used to fill DataSet?
1.Populate
2. Fill
3.Open
4.Close
Which method is used to retrieve the single value?
1.ExecuteScalar
2.ExecuteReader
3. ExecuteSingle
4.ExecuteNonQuery
Which namespace is used to access the connection string from the Web.Config file?
1.Web.Configuration
2.Web.Config
3.System.Configuration
4.System.Web.Configuration
Which namespace is used to fetch data from Oracle database?
1.Sql.Data
2.Sql.Data.SqlClient
3.Sql.Data.OracleClient
4.none of the above
Which object is used to Fill DataSet using the query in SQL Server?
1.DataSet
2. DataTable
3. DataAdapter
4.none of the above
Which object will be used to sort the data of DataSet?
1.DataView object
2.DataSet
3.DataTable
4.DataAdapter
Which of the following are the events of the DataTable object?
1.RowChanged
2. ColumnChanged
3.RowChanging
4.All of the above
Which of the following is the benefit of the ADO.Net?
1.Interoperability
2.Disconnected Data Access
3.Store Data in multiple tables
4.All of the above