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

where should write the connection string Show that it will
apply whole pages in the website

Answer Posted / lakshmi

connection string saved in the web.config file:

<connectionstrings>
<add name="Appconnectionstring1"
connectionstring="server=localhost;User Id=sa;Password=
password;Database=Northwind; persist security info ="True"
providerName="system.data.sqlclient"/>
</connectionstrings>

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know

1100


What is x xss protection?

980


How can we apply themes to an asp.net application?

1037


Explain code snippet to register exception filters from controller?

1016


How would you get asp.net running in apache web servers?

1027


What are uri parameters?

1041


Is asp.net is a programming language?

944


What is break mode?

941


What is the purpose of using MVC programming pattern in ASP.NET?

1045


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

1037


What is the difference between Session and response.Redirect?

1131


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

3044


Is data edited in the Repeater control?

1043


Where is the view state data stored in asp net?

1023


Explain the difference between the web config and machine config.

1036