dataGridView
-
Hello everybody. In my C# project I have a dataGridView with 12 Columns and 16 Rows. Propertie ColumnHeadersVisible is set true; How to enter value(text) into Cell between Row headers and Column headers (Cell in Topleft corner) in my dataGridView? Thanks in advance.
-
Hello everybody. In my C# project I have a dataGridView with 12 Columns and 16 Rows. Propertie ColumnHeadersVisible is set true; How to enter value(text) into Cell between Row headers and Column headers (Cell in Topleft corner) in my dataGridView? Thanks in advance.
-
Hello everybody. In my C# project I have a dataGridView with 12 Columns and 16 Rows. Propertie ColumnHeadersVisible is set true; How to enter value(text) into Cell between Row headers and Column headers (Cell in Topleft corner) in my dataGridView? Thanks in advance.
To enter value in the first cell of the first row:
dataGridview.Rows[0].Cells[0].Value = "ABC";
Regards joonyo's solution is correct. :-O Sorry! I didn't pay attention to the details. -- modified at 7:57 Monday 19th March, 2007
________________________________ Success is not something to wait for, its something to work for.
-
I only found how to do it via code, not in a visual way, but it does the trick:
dataGridView1.TopLeftHeaderCell.Value = "SomeTextHere";
Hope this helped! :omg:Thank you it works !!!
-
Thank you it works !!!