public revertdatabase() { InitializeComponent(); SqlConnection con = ss.getcon(); databasename = con.Database; }