Пример #1
0
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     DAO.AviosDAO aviosdao = new GrupoSM_Recepcion.DAO.AviosDAO();
     aviosdao.idavios         = int.Parse(dataGridView1.CurrentRow.Cells["Clave Avio"].Value.ToString());
     dataGridView2.DataSource = aviosdao.devuelveaviossubgruposcolor();
 }
Пример #2
0
 public void actualizagridavioscolor()
 {
     DAO.AviosDAO aviosdao = new GrupoSM_Recepcion.DAO.AviosDAO();
     aviosdao.idavios         = int.Parse(lbl_idavio.Text);
     dataGridView2.DataSource = aviosdao.devuelveaviossubgruposcolor();
 }