tags:

views:

161

answers:

2

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