Public Sub GetEverythingFromDatagridEvenFunctionName
Dim col As Int32
For col = 0 To e.Item.Cells.Count - 1
'strValue is always empty!
Dim strValue As String = dgVeryImportant.Items(col).Cells(2).Text
End For
End Sub
The internet search advises to use Items(col).Cells(2).FindControl(..), the problem with that is FindControl finds the control by ID, BoundColumn doesn't allow you to insert an ID for it.
OR, by email:
mailtoi've a good mind to leave the Mail here for spam)
This is the message:
Hello friend..
Been a while huh..
Please help. I'm running through a datagrid item (row), and one of my cells is a buttoncolumn, which apparently returns an empty string when I retrieve the text from it (Item(..).Cells(..).Text).
Bookmarks