//this._connection.ConnectionString = ("Data Source =" // + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\\SDCBarcodeData.sdf;")); this._connection.ConnectionString = Settings.Default.LocalConnectionString;I have to change the designer code every time back to the second setting after I make any changes in DS.