Where do you store connection string ?
Answers were Sorted based on User's Feedback
Answer / ansu kumar
we
store
connection string in
web.config file under tab
<appsettings>
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / s.balakrishna
we store connection string under web.config file
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / dheeraj
<ConnectionStrings>
add name=""
ConnectionString="datasource="servername";catalog="database
name";
<ConnectionStrings>
and that code is to written under web.config file.
Is This Answer Correct ? | 2 Yes | 0 No |
What are the different ado.net namespaces?
How does entity framework work?
How to identify the controls which can be used for binding data?
If we want to connect to many databases in dataaccess layer such as MSAccess,Sql server,oracle means not to a particular database depends on condition we have to connect to appropriate database in this scenario if we without changing code Ho wdo you handle this situation?
Explain the dataadapter class in ado.net?
How to connect and retrieve data from database using dataset
What are all features of ADO.Net?
How is it possible to get 2 tables of data at a time by using data reader?
What is csdl entity framework?
What is ado circle?
What are the differences between OLEDB and SQLClient Providers?
What are all the different methods under sqlcommand?