Author: samarmir | Posted on: 7/20/2010 5:10:12 PM | Views : 411

Hi 
I'm trying to programmatically encrypt the connectingstrings section of my web.config, using the below code, which I have gotten from here. 
http://www.dotnetcurry.com/ShowArticle.aspx?ID=185
The problem is that nothing happens when I click encrypt. 
This is my code.

<body> <form id="form1" runat="server"> <div style="margin:50px;"> <asp:Button ID="btnEncrypt" Text="Encrypt" runat="server" onclick="btnEncrypt_Click" />   <asp:Label ID="lblEncryptMsg" Text="" runat="server" /> <br /> <br /> <asp:Button ID="btnDecrypt" Text="Decrypt" runat="server" onclick="btnDecrypt_Click" />   <asp:Label ID="lblDecryptMsg" Text=&quo ...

Go to the complete details ...