Home Forums WinForms controls Xceed Grid for WinForms Get value of a cell by current row Reply To: Get value of a cell by current row

User (Old forums)
Member
Post count: 23064

I don’t think you need to create a new DataRow. Your code works, but the <b>New DataRow()</b> isn’t necessary. You can just use <b>Dim row As DataRow</b>, unless my VB is not correct.
You don’t even have to put it in a variable: you can just say <b>MsgBox(grdGIV.CurrentRow.Cells(0).Value)</b>

Imported from legacy forums. Posted by Tommy (had 291 views)