private static void deleteKunde() { string statement = "delete from bil where id = 1"; string statement2 = "delete from kunder where id = 1"; SqlTest.delete(statement); SqlTest.delete(statement2); }
static void Main(string[] args) { opretKunde(); SqlTest.Select("select * from kunder"); opretBil(); BilDotCs.Select("select * from bil"); updateBil(); deleteKunde(); Console.ReadKey(); }
private static void opretKunde() { string statement = "insert into kunder values ('" + "Jesper" + "','" + "Fårekylling" + "'," + "2800" + ")"; SqlTest.insert(statement); }