I get an error when I try to navigate between pages in my WPF program, here is my code:
DataAccess db = new DataAccess(); int newid = db.A