I\'ve a connection string saved to Properties.Settings.Default, i need to use an sql connection in all classes without having to declare it everytime, so how should
Properties.Settings.Default
You can use this code for get coonection string
var defaultConn= new SqlConnection(ConfigurationManager.AppSettings["defaultConn"].ToString());