rwheeler23
asked on
C# displaying black triangle as row location indicator?
Use C# and a datagridview, is there a way to display the black triangle on any row to indicate which record the cursor currently resides? Can it be placed to the left or right or both sides of the datagridview? I have a datagridview called dgvPayments.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
No, the row headers have nothing to do with the content, so you don't have to change anything beyond making the row headers visible.
ASKER
In this case, the content was not my concern. It was only the column headings. All looks good now.
ASKER
Here is what I am doing:
dgvDataGridView.RowHeaders
dgvDataGridView.Columns[1]
If I set dgvDataGridView.RowHeaders
then do I need to setup my sql query to provide the column names?