Dear All,
I am unable to setup app.config file with in a setup (unable to change
values),I am new in vb.net but I did alot of work with vb6 .I want to
handle connectionstring in vb.net application kindly help me in this
regards.
*I am getting values through below code*
txtdbstring.Text =
System.Configuration.ConfigurationSettings.AppSettings("connection")
txtreportpath.Text =
System.Configuration.ConfigurationSettings.AppSettings("ReportPath")
*and update through below code*
Dim config As System.Configuration.ConfigurationSettings
AppConfigFileSettingss.UpdateAppSettings("connection",
txtdbstring.Text)
AppConfigFileSettingss.UpdateAppSettings("ReportPath",
txtreportpath.Text)
Regards
Khurram jafri
--
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net