Ejemplo n.º 1
0
        private void admin_Load(object sender, EventArgs e)
        {
            dataBill.DataSource     = BILLBUS.GETBILL();
            dataFood.DataSource     = FOODBUS.GETFOOD();
            dataDesk.DataSource     = DESKBUS.GETDESK();
            dataEmployer.DataSource = EMPLOYERBUS.GETEMPLOYER();
            dataSpecies.DataSource  = SPECIESBUS.GETSPECIES();

            desk_cbo.DataSource    = DESKBUS.GETDESK();
            desk_cbo.ValueMember   = "IDDESK";
            desk_cbo.DisplayMember = "NAMEDESK";

            speciescbo.DataSource    = SPECIESBUS.GETSPECIES();
            speciescbo.ValueMember   = "IDSPECIES";
            speciescbo.DisplayMember = "NAMESPECIES";
        }
Ejemplo n.º 2
0
 public void showdesk()
 {
     comboBox1.DataSource  = DESKBUS.GETDESK();
     comboBox1.ValueMember = "IDDESK";
 }