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:A
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
Explanation:The Close method rolls back any pending transactions and releases the Connection from the SQL Server Database. 8. Which of the following gives trusted Connection from a CE device ?