hi frnds,
i have a certain application in vs2008 with several windows forms.my question is that i have to mention connectionstring on each n every form as:
con.ConnectionString = "Data Source=mypc;Initial Catalog=Main;User ID=me;Password=pwd"
Is there any way to define connectionstring for once for all forms and and one more thing if the database location is changed ,my application itself look for it wherever the database file is?