public void InitEveryThing() { this.bds = new BindingSource(); this.dt_user = archive_baseinfo.GetUserDt("").Tables[0]; if (this.dt_user.Rows.Count > 0) { DataRow row = this.dt_user.NewRow(); row.ItemArray = new object[] { "不限", 0, "" }; this.dt_user.Rows.InsertAt(row, 0); this.cbxUser.ValueMember = "ID"; this.cbxUser.DisplayMember = "CreateMenName"; this.cbxUser.DataSource = this.dt_user; } // 体检医生 this.dt_doctor = new SysUserBLL().GetDoctorList("").Tables[0]; if (this.dt_doctor.Rows.Count > 0) { DataRow row = this.dt_doctor.NewRow(); row.ItemArray = new object[] { 0, "不限" }; this.dt_doctor.Rows.InsertAt(row, 0); this.cboDoctor.ValueMember = "UserID"; this.cboDoctor.DisplayMember = "UserName"; this.cboDoctor.DataSource = this.dt_doctor; } this.EveryThingIsOk = true; }