[2005] how can i do to write in a specific cell in a datgridview
I want to know how can i do to write in a specific cell the word "hello" ( in want to do it of corse in the code )
for example , in the row number 3 and the column number 4
How can i do that
tank you
Re: how can i do to write in a specific cell in a datgridview
You can set the value of cells in a DataGridView with it's row and cell index.
Code:
Me.DataGridView1.Rows(2).Cells(3).Value = "Hello"
Re: [2005] how can i do to write in a specific cell in a datgridview
Duplicate threads merged.
Please do not make duplicate threads. ;)
No, you cant write like VBA. Use the logic like nmadd posted.