private void BindDataFaculty(String t = "", String w = "", String o = "") { cmbFaculty.DataSource = faculty.Faculty_GetByTop(t, w, o); cmbFaculty.DisplayMember = "facultyName"; cmbFaculty.ValueMember = "id"; cmbFaculty.SelectedIndex = 0; }
private void BindDataFaculty(String t = "", String w = "", String o = "") { cmbFaculty.DataSource = faculty.Faculty_GetByTop(t, w, o); cmbFaculty.DisplayMember = "facultyName"; cmbFaculty.ValueMember = "id"; cmbFaculty.SelectedValue = Common.subject_facultyID; }
private void BindData(String t = "", String w = "", String o = "") { dgvFaculty.DataSource = obj.Faculty_GetByTop(t, w, o); dgvFaculty.Columns[0].HeaderText = "Mã khoa"; dgvFaculty.Columns[1].HeaderText = "Tên khoa"; dgvFaculty.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; }
private void BindDataFaculty(String t = "", String w = "", String o = "") { dgvFaculty.DataSource = faculty.Faculty_GetByTop(t, w, o); }