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

How to you declare connection strings and how to you make
use of web.config ?

Answer Posted / ansu kumar

in
web.config file
<appsetting>
<add key="constr" value="data source=database name;
database=database name"/>
</appsetting>

and
in .aspx file
string str=configurationsetting.appsetting.constr;

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is disconnected scenario in entity framework?

1102


What is ado control?

947


What are dataproviders?

957


What are the methods of XML dataset object?

1022


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

1057


Explain the overview of ado.net architecture?

1032


What is the current version of entity framework?

954


What is a data control clerk?

1036


Some important instruction regarding ADO.NET connection string ?

972


What is sql command in ado net?

950


Which is the feature of ado.net?

1006


What is the use of SqlCommandBuilder?

1199


Define atomicity?

1016


What is ado.net in mvc?

922


Explain ODP.net

992