Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     opretKunde();
     SqlTest.Select("select * from kunder");
     opretBil();
     BilDotCs.Select("select * from bil");
     updateBil();
     deleteKunde();
     Console.ReadKey();
 }
Exemplo n.º 3
0
        private static void opretKunde()
        {
            string statement = "insert into kunder values ('" + "Jesper" + "','" + "Fårekylling" + "'," + "2800" + ")";

            SqlTest.insert(statement);
        }