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...


What does connection string consists of ?

Answers were Sorted based on User's Feedback



What does connection string consists of ?..

Answer / sachin gupta

it consist
1. data source(Server)
2. database(Initial Catalog)
3. user name(Uid)
4. password(Pwd)
5. Integrated Security
6. Provider

Is This Answer Correct ?    13 Yes 0 No

What does connection string consists of ?..

Answer / ansu kamar

it consist of
data source
database
user name
password

Is This Answer Correct ?    11 Yes 0 No

What does connection string consists of ?..

Answer / hardit singh

sqlconnection con=new sqlconnection
("server=localhost;database=testdb;uid=sa;pwd=sa;");

Is This Answer Correct ?    1 Yes 0 No

What does connection string consists of ?..

Answer / m.chandran

Connection String for SQL Server consist of:
1.Data Source or server= “.”; or "Localhost" or "127.0.0.1" or "serverNameinstanceName" or "N/W SQL server IP Address" Server instance.
2.Initial Catalog or database = “DATABASE_NAME”;
Either3.Uid=”UserID for SQL server” and Password= “Password for SQL server”;
ORIntegrated Security=”True”; Use Windows security

optional
5.Provider Name =”System.Data.SqlClient”;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

What is the difference in record set and dataset?

0 Answers  


How to perform sorting on a table in ADO.NET?

0 Answers   Petranics Solutions,


Explain what are acid properties?

0 Answers  


How is entity framework different from ado.net?

0 Answers  


What are the different methods by which we can populate a dataset?

0 Answers  


Explain which name space is used to get assembly details?

0 Answers  


What providers do you use to connect to oracle database ?

4 Answers   Digital GlobalSoft,


What are the methods of XML dataset object?

0 Answers  


Can you explain how to enable and disable connection pooling?

0 Answers  


What are the data providers used in ado.net

0 Answers  


How to read data with the sqldatareader ?

0 Answers  


What are the connected and disconnected modes in ado.net?

0 Answers  


Categories