Protected Sub EncryptConfig(ByVal nEncrypt As Boolean)
Dim path = "/tricks" Dim config As Configuration =
WebConfigurationManager.OpenWebConfiguration(path) Dim appSettings As
ConfigurationSection = config.GetSection("connectionStrings") If (bEncrypt) Then
appSettings.SectionInformation.ProtectSection
(DataProtectionConfigurationProvider) else
appeSettings.SectionInformation.UnprotectSection () End If config.Save()End Sub
Activar la propiedad MaintainScrollPositionOnPostback = "true", para hacer que el scrollbar se mantenga donde lo dejaron
No hay comentarios:
Publicar un comentario