Format:
Recent snippets matching tags of connection string
/// <summary> /// Creates a Connection string from Conf.xml /// </summary> /// <param name="isEntityConnection"> /// The is Entity Connection. /// </param> /// <param name="serverName"> /// The server Name. /// </param> /// <param name="databaseName">
73 Views
no comments
/// <summary> /// Encrypts the conn string. /// </summary> /// <remarks></remarks> public void EncryptConnString() { Configuration config = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath); ConfigurationSection section = config.GetSection("connectionStrings"); if (!section.SectionInformation.IsProtected)
215 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
