protected void Page_Load(object sender, EventArgs e)
        {
            Automobile auto = new Automobile();

            auto.Make  = "Toyota";
            auto.Model = "FJ Cruiser";
            auto.Year  = 2014;

            // auto.SaveChangesToDatabase();
            // auto.PrintCarDetails();
            // auto.SellCar();
        }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Automobile auto = new Automobile();
 }
Beispiel #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Automobile auto = new Automobile();
 }