public void DataGrid() { try { if (radioButton1.Checked == true) { Table.DataSource = d.GetTableUsingSql("Liste_Agent where id is not null"); } if (radioButton2.Checked == true) { Table.DataSource = d.GetTableUsingSql("Liste_Patient where id is not null"); } } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void DataGrid() { try { Table.DataSource = d.GetTableUsingSql("liste_consultation where id is not null"); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void DataGrid() { try { Table.DataSource = d.GetTableUsingSql("Tarif"); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void DataGrid() { try { Table.DataSource = d.GetTableUsingSql("Medicament where id is not null"); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void Selection() { panel3.Visible = false; if (radEntree.Checked == true) { try { Table.DataSource = d.GetTableUsingSql("Liste_Paiement where id is not null and Etat=0"); } catch (Exception ex) { MessageBox.Show(ex.Message); } } else if (radSortie.Checked == true) { try { Table.DataSource = d.GetTableUsingSql("V_Depense where id is not null and Etat = 0 "); } catch (Exception ex) { MessageBox.Show(ex.Message); } } }