Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > How to setup connection string
 

How to setup connection string

Iam new to windows forms.I have been using ASP.NET .

can someone helpme in accessing sqlserve5r database from code.

is there any file similar to web.config in asp.net to configure connection string.

Thanks

laks

mahalaks  Wednesday, August 22, 2007 12:04 AM

Yes, in Windows Forms application, we can use the app.config file to configure the database connection string as the web.config file in ASP.NET. For more information about this, see Walkthrough: Using a Configuration File to Define a Data Source

Zhi-Xin Ye  Tuesday, August 28, 2007 8:56 AM

Yes, in Windows Forms application, we can use the app.config file to configure the database connection string as the web.config file in ASP.NET. For more information about this, see Walkthrough: Using a Configuration File to Define a Data Source

Zhi-Xin Ye  Tuesday, August 28, 2007 8:56 AM

You can use google to search for other answers

Custom Search

More Threads

• ProgressBar Thread
• TaskVision for Palm OS?
• Lots of questions....
• Installer is no longer responding
• How long did the initial version of this application take to develop?
• Problem with scrollbars of panel in C#
• Error on compiling and running taskvision
• No Submissions for Animal Farm?
• No docs no articles!
• Is the third light supposed to be red?