Correct Answer: DataReader closes its connection automatically
Explanation:
Note: This Question is unanswered, help us to find answer for this one
ADO.NET Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More ADO.NET MCQ Questions
You have got a supplier data table named ''DTSupp.'' To display records specifically with sorting, you employed a dataview as follows: Dim DataViewSupp As DataView = DTSupp.DefaultView What is the 'DataViewSupp' table view by default?
You are developing a website that has four layers. The layers are: user interface (web pages), business objects, data objects, and the database. You want to pass data from the database to controls on a web form. What should you do?
Read the following statement: DataTable.Select (String, String) Here, the first parameter accepts a criteria for filtration, what does the second parameter do?
Which method ensures optimum use of Connection Pooling?
Read the following statements: Dim dr As DataRow Dim objCustReader As Data.SqlClient.SqlDataReader Dim dtCustomers As DataTable With dtCustomers.Columns.Add(New DataColumn(''Customer ID'')) End With What is wrong in above code?
Which one is not correct with regard to DataReader and DataSet?
Premium Corporation is running an insurance business. They are planning to create a website to automate the business. An aspx page, Sales.aspx will display the sales generated by an executive. The sales will be displayed in a datagrid. The executives can change some fields like the address or phone numbers of clients, and they can add new sales also. Which of the following will you prefer to use for this?