示例#1
0
        private void LoadPersons()
        {
            DataTable dt = _personBL.FetchPersons();

            cmbReqPersons.ValueMember   = "rpid";
            cmbReqPersons.DisplayMember = "name";
            cmbReqPersons.Items.Add("--Select--");
            cmbReqPersons.DataSource = dt;
        }