I want to save my connection string in XML file.How to do that?How to encrypt and decrypt that file using VB.Net
A:
I think what you're looking for is to encrypt the connectionstrings config section in your applications configuration file, if that's correct then take a look at this:
How To: Encrypt Configuration Sections in ASP.NET 2.0 Using DPAPI
David
2010-03-04 13:01:32