How to display text on the Datagridview Header?
-
Hi, I created a Datagridview which holds the 64 bit data with different names, I want to display the Starting bit information on the Row header and the 0th column the name, and the value in the 1st column, How I can add the Header text?
SomaShekhar
-
Hi, I created a Datagridview which holds the 64 bit data with different names, I want to display the Starting bit information on the Row header and the 0th column the name, and the value in the 1st column, How I can add the Header text?
SomaShekhar
I have no idea what you're trying to do, but the DGV has a Columns collection that holds DataGridViewColumn objects, each of which has a HeaderText property where you set the text of the column header.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
I have no idea what you're trying to do, but the DGV has a Columns collection that holds DataGridViewColumn objects, each of which has a HeaderText property where you set the text of the column header.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Hi Dave, My intention is to display the start index of the bit field at left side of the datagridview (I think it was called as the DataGgridviewRow header), I have tried setting the row header text but I couldn't acheived the purpose. :(
SomaShekhar
-
Hi Dave, My intention is to display the start index of the bit field at left side of the datagridview (I think it was called as the DataGgridviewRow header), I have tried setting the row header text but I couldn't acheived the purpose. :(
SomaShekhar
You voted me down because my suggestion didn't help at all, even when I said what you described didn't make any sense and I took a guess at what you were trying to do?? See ya...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
You voted me down because my suggestion didn't help at all, even when I said what you described didn't make any sense and I took a guess at what you were trying to do?? See ya...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Hmmm, I think I'll pass helping him out.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham