Exemplo n.º 1
0
 public vehicle Insert_vehicle_select(int ID)
 {
     vehicle = vehicle.Select(ID);
     Insert_case_id_txt.Text            = Convert.ToString(vehicle.case_id);
     Insert_client_id_txt.Text          = Convert.ToString(vehicle.client_id);
     Insert_vehicle_make_txt.Text       = Convert.ToString(vehicle.vehicle_make);
     Insert_vehicle_model_txt.Text      = Convert.ToString(vehicle.vehicle_model);
     Insert_vehicle_type_txt.Text       = Convert.ToString(vehicle.vehicle_type);
     Insert_vehicle_year_txt.Text       = Convert.ToString(vehicle.vehicle_year);
     Insert_vehicle_desc_txt.Text       = Convert.ToString(vehicle.vehicle_desc);
     Insert_vin_txt.Text                = Convert.ToString(vehicle.vin);
     Insert_start_mileage_txt.Text      = Convert.ToString(vehicle.start_mileage);
     Insert_first_service_date_txt.Text = Convert.ToString(vehicle.first_service_date);
     Insert_last_service_date_txt.Text  = Convert.ToString(vehicle.last_service_date);
     Insert_PLATENUMBER_txt.Text        = Convert.ToString(vehicle.PLATENUMBER);
     Insert_FUELTYPE_txt.Text           = Convert.ToString(vehicle.FUELTYPE);
     Insert_MPH_txt.Text                = Convert.ToString(vehicle.MPH);
     Insert_INSURED_txt.Text            = Convert.ToString(vehicle.INSURED);
     return(vehicle);
 }