adplus-dvertising
frame-decoration

Question

Syntax for closing and opening the connection in ADO.net is _______________

a.

sqlConn.Open() and sqlConn.close()

b.

sqlConn.open() and sqlConn.Close()

c.

sqlConn.Open() and sqlConn.Close()

d.

none of the mentioned

Answer: (c).sqlConn.Open() and sqlConn.Close()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Syntax for closing and opening the connection in ADO.net is _______________

Similar Questions

Discover Related MCQs

Q. Which of the following gives trusted Connection from a CE device?

Q. The main features of dotConnect for SQL Server includes ___________

Q. __________object is used to fill a DataSet/DataTable with query results in ADO.net.

Q. Point out the correct statement.

Q. LINQ query to retrieve a selection of customers, each with their high-value purchases is _____________

Q. LINQ Query to list all purchases of $1000 or greater made by customers who live in Washington.

Q. Point out the wrong statement.

Q. Which of the following sample code is used to select data Using LinQ To SQL?

Q. Which of the following code snippet would traverse through all result objects ?

Q. LINQ to SQL is considered to be one of Microsoft’s _______ products.

Q. LINQ to SQL in SQL Server fully supports ____________

Q. Point out the wrong statement.

Q. LINQ to Entities applications requires __________ mapping provider.

Q. The ______ pre-compiler translates embedded SQL into calls to the Oracle runtime library.

Q. Point out the correct statement.

Q. DataContext object is constructed in LINQ to SQL using _____________

Q. Which of the following code will retrieve all products in the Beverages category sorted by product name?

Q. Which of the following sample code is used to retrieve single row at a time?

Q. Which of the following method is used to delete records in LINQ?

Q. Which of the following code in LINQ performs functionality similar to joins in SQL?