Click here to Skip to main content
15,883,868 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How
Can I remove the Connection String
from web.config File
using vb.net.
I want to remove the Connctin string Tag from web.config file.
Please assist
Posted
Comments
Maciej Los 30-Mar-13 13:51pm    
Why?
Mike Meinz 30-Mar-13 14:01pm    
Do you want to "remove" it or "retrieve" it?

"Remove" means "delete".
"Retrieve" means "get".

1 solution

I don't know why do you want to do that, but see here: http://forums.asp.net/t/1375966.aspx[^]

I suggest you to hide (secure) connection string.
http://msdn.microsoft.com/en-us/library/89211k9b%28v=vs.80%29.aspx[^]
http://msdn.microsoft.com/en-us/library/ms254978%28v=vs.80%29.aspx[^]
http://msdn.microsoft.com/en-US/library/ms254500%28v=vs.80%29.aspx[^]

Here is an interesting article about web.config file parts (sections): Web.config File - ASP.NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900