private void btnSelectAll_Click(object sender, EventArgs e) { string columnName = dgvQuerry.Columns["Select"].Name.ToString(); AutoComplete autoComplete = new AutoComplete(); autoComplete.AutoSelectAll(dgvSelected, columnName); }
private void btnSelectAll_Click(object sender, EventArgs e) { string columnName = dataGridView1.Columns["Select"].Name.ToString(); AutoComplete autoComplete = new AutoComplete(); autoComplete.AutoSelectAll(dataGridView2, columnName); }
public AddNewItem() { InitializeComponent(); LoadData(); AutoComplete auto = new AutoComplete(); this.AutoScroll = true; //tring strAuto = "SELECT SN FROM Tai_san"; //txtSN.AutoCompleteCustomSource = auto.AutoCompleteData1(strAuto); //AutoComplete1(); }
private void btnSelectAll_Click(object sender, EventArgs e) { try { string columnName = dgvSelected.Columns["Select"].Name.ToString(); AutoComplete auto = new AutoComplete(); auto.AutoSelectAll(dgvSelected, columnName); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void btnSelectAll_Click(object sender, EventArgs e) { try { string ColumnName = dataGridView2.Columns["Select"].Name.ToString(); AutoComplete complete = new AutoComplete(); complete.AutoSelectAll(dataGridView2, ColumnName); } catch (Exception ex) { MessageBox.Show(ex.Message); } }