COMO GRAVAR U VALOR NO ARQUIVO APPSETINGS EM VB NET

The solution for “COMO GRAVAR U VALOR NO ARQUIVO APPSETINGS EM VB NET” can be found here. The following code will assist you in solving the problem.

Dim Valor As Integer = 0 

If Not (ConfigurationSettings.AppSettings(chave) Is Nothing) Then

Try
Valor = Convert.ToInt32(ConfigurationSettings.AppSettings(“Max”))
Catch e As Exception
//tratamento da exceção
End Try

End If

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts