datagridview column header
-
Hi, im a newbie, and i now the answer is probably very simple but i just cannot figure it out.:confused: I would like to get the datagridview to STOP taking the first row as the columnheader. i hav tried using DataGridView1.Columns(0).HeaderText but iv realised it doesnt stop taking the first row as the column header but it simply replaces the text in that column header but does not do what i want. Any help is much appreciated PS i am using vb
-
Hi, im a newbie, and i now the answer is probably very simple but i just cannot figure it out.:confused: I would like to get the datagridview to STOP taking the first row as the columnheader. i hav tried using DataGridView1.Columns(0).HeaderText but iv realised it doesnt stop taking the first row as the column header but it simply replaces the text in that column header but does not do what i want. Any help is much appreciated PS i am using vb
Do you mean that you don't want column headers? Have you tried setting the ColumnHeadersVisible property to false?
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
Because programming is an art, not a science. Marc Clifton
I gave up when I couldn't spell "egg". Justine Allen