Пример #1
0
        public static void ShowCustomer()
        {
            Console.WriteLine("Hvilken kunde vil du se? (Vælg kunde nummer)");
            int CustomerNumber = Convert.ToInt32(Console.ReadLine());

            SQLCon.SelectCustomer("Select * from customer where id =(" + CustomerNumber + ")");
        }
Пример #2
0
 public static void WatchTabel()
 {
     SQLCon.SelectCustomer("Select * from customers order by navn asc");
     SQLCon.SelectCar("Select * from Car order by Brand, Model asc");
 }