Exemple #1
0
 private void cboCategory_SelectionChangeCommitted(object sender, EventArgs e)
 {
     AlmacenDisecWS.category c = (AlmacenDisecWS.category)cboCategory.SelectedItem;
     cboFamily.DataSource    = serviceDA.queryFamilyByCategory(c.category_id, 2);
     cboFamily.DisplayMember = "name_family";
     cboFamily.ValueMember   = "id_family";
 }