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.
 
Back
Top