Question:You are writing an application that communicates with a database. The connection string
is stored in the application configuration file. Which of the following correctly retrieves the connection
string? - (VB.Net) 

A ConfigurationManager.ConnectionStrings.ConnectionString 

B ConfigurationSettings.ConnectionStrings.ConnectionString 

C ConfigurationManager.ConnectionStrings(0).ConnectionString 

D ConfigurationSettings.ConnectionStrings(0).ConnectionString 

+ Answer
+ Report
Total Preview: 974

Copyright © 2024. Powered by Intellect Software Ltd