예제 #1
0
 private void btnConsultar_Click(object sender, EventArgs e)
 {
     ReservasDAO reserva = new ReservasDAO();
     DataTable reservas = reserva.consulta();
     foreach (DataRow dr in reservas.Rows)
     {
         txtCodVooConsulta.Text = dr[0].ToString();
         txtAssentoConsulta.Text = dr[1].ToString();
     }
 }
예제 #2
0
 private FrmReservas()
 {
     InitializeComponent();
     reservasDAO = new ReservasDAO();
 }