Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Which ado.net object is very fast in getting data from the database?

1049


What is an ado connection?

918


What does executenonquery () method return?

878


What is the difference between a datareader and a dataset?

938


What is the use of data grid?

903


Explain the overview of ado.net architecture?

938


How do I delete a row from a DataTable?

1076


What are the advantages of using datalist?

961


Name which operations can you not perform on an ado.net dataset?

925


What we do with the object of ado.net dataset after using it?

949


How many major types of connection objects in ADO.NET?

989


Which architecture does Datasets follow?

985


What is connection pooling and what is the maximum pool size in ado.net connection string?

900


Can we load multiple tables in a dataset?

1062


What is difference between datagridview and datagrid control in winforms?

955