On Tue, Sep 18, 2012 at 1:00 AM, khurram jafri <[email protected]> wrote:
> 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")

-----------------------------


Try this:
<http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.aspx>

The Connection needs the string you got above.  It will then connect
to the back end.  From there you can pass in statements as needed and
receive the return data as well.

-- 
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN

901.246-0159 cell

-- 
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

Reply via email to