Example #1
0
 protected void btn_Guardar_Click(object sender, EventArgs e)
 {
     Reservation r = new Reservation(Int32.Parse(txb_starTime.Text), Int32.Parse(txb_endTime.Text), txb_course.Text, txb_Observation.Text,Cld_Date.SelectedDate.ToShortDateString(),12);
     lbl_muestra.Text = r.Date.ToString();
     ReservationBusiness rb = new ReservationBusiness();
     rb.Insert(r);
 }