Connection String

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

In web applications (VB), you can store your connection string in the
web.config file and then you can use the ConfigurationSettings.AppSettings
("EntryName") to retrieve the information. Is there an equivalent for
windows based applications (C#)?
 
Include an app.config file in your Windows app and it
will give you the same behavior. But there's no
difference between VB & C# in this regard, or when it
comes to web vs. windows dev.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top