How to get cell value from DataGridView in VB.Net?

前端 未结 5 1365
南旧
南旧 2021-01-06 19:54

I have a problem, how can i get value from cell of datagridview

----------------------------------
id     | p/w       | post       |
------------------------         


        
5条回答
  •  借酒劲吻你
    2021-01-06 20:51

    To get the value of cell, use the following syntax,

    datagridviewName(columnFirst, rowSecond).value
    

    But the intellisense and MSDN documentation is wrongly saying rowFirst, colSecond approach...

提交回复
热议问题