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 encrypt a connection string in web.config file?

Answer Posted / kinjal panchal

<configuration>
<appsetting>
<add key="debug" value="true"/>
<add key="server" value="your server name"/>
<add key="Database" value="your databse name"/>
<add key="username" value="your username"/>
<add key="password" value="your password"/>
</appsetting>

<connectionstring>
<add name="cnnectionstrigname"
connectionstring="datasource=server name; initial
catalog=database name; user id=your username; password=your
password" providername="system.data.sqlclient"/>
</connectionstring>
</configuration>

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Cookies Less Session?

1046


What is view state management in asp net?

901


What is the concepts of globalization and localization in .net?

954


What is the difference between sealed vs static class?

1091


Explain the difference between panel and groupbox classes using .net?

965


What is a 404 redirect?

1048


Explain the difference between the web config and machine config.

1026


Describe the method to create a permanent cookie?

1078


What is http post and http get?

1004


What are the advantages and disadvantages of session?

1120


Explain what are webservices?

972


What is a 1x1 pixel?

941


How Session use Cookies in State Management?

1063


How does asp net store session ids by default?

970


Explain the function of new view engine in asp.net? : asp.net mvc

1017