Example #1
0
        private void VIPPrasadamForm_Load(object sender, EventArgs e)
        {
            var empDao = new EmployeeDao();

            cmbReferenceBy.DataSource    = empDao.GetAllEmployees();
            cmbReferenceBy.DisplayMember = "Name";
            cmbReferenceBy.ValueMember   = "Id";
            var serviceDao = new ServiceDao();

            cmbServiceID.DataSource = serviceDao.GetAllVIPPrasadam();
            ShowVIPPrasadam();
        }