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 ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between datagridview and datagrid control in winforms?

1080


how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?

1050


Is datareader faster than datatable?

1014


What are the different methods available under the sqlcommand class to access the data?

1094


What is ole in excel?

981


What is commandbuilder in ado.net?

1094


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

1192


How do I delete a row from a DataTable?

1227


What does executereader return?

1036


Which object holds only data and does not interact with data source?

1029


What is connected architecture in ado.net?

1178


Explain the architecture of ado.net?

1129


How to load multiple tables into a dataset?

1118


How will you fill the gridview by using datatable object at runtime?

1103


What is the difference between typed and untyped dataset?

1159