Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DragoGuzzi

    DataGridView Selected Row Indicator

    Don't know if you have solved your problem, but the last line in my code: dataGridViewBillCodes.Rows[x].Selected = true; dataGridViewBillCodes.FirstDisplayedScrollingRowIndex = x; dataGridViewBillCodes.CurrentCell = dataGridViewBillCodes.Rows[x].Cells[0]; is what seems to...
  2. DragoGuzzi

    DataGridView Selected Row Indicator

    Sorry, that last line should be ...Rows[x].Cells[0];: dataGridViewBillCodes.CurrentCell = dataGridViewBillCodes.Rows[x].Cells[0]; Mea culpa!
  3. DragoGuzzi

    DataGridView Selected Row Indicator

    I too struggled with this for a while. I just came up with a solution. Let's say my DataGridView is called "dataGridViewBillCodes" and I want the new selected row index to be x (assuming x is a valid index in the DataDridView) and I also want the row selection indicator to move to that same row...

Part and Inventory Search

Back
Top