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?
Answer Posted / alok saxena
Hey!
You are giving clue in your question.
First We have to use select case option, In each case we
have to use respective database connection,pwd,
Mind you must have to select approrpiate provider e.x. Sql
u must use System.Data.Sql
Wish u a good luck
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is ole db and odbc?
What is execute reader in ado.net?
What is datatable in ado.net?
What is the role of data provider in ado.net?
What is ado.net explain with diagram?
Describe ado.net object model in detail.
What are different layers of ADO.Net?
Explain sqlconnection object?
Which is the best method to get two values from the database?
What are the core objects of ADO.NET?
What is ado or jdbc?
What is bubbled event can you please explain?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
Explain the role of data provider in ado.net?
Does executenonquery return a value?