How can I find the value of a cell in a gridview? I'm getting an error for strLP below in the row databound event?
Dim strLP As String = ""
Protected Sub gridReviewer_RowDataBound(
ByVal sender As Object, ByVal e As GridViewRowEventArgs)
If (e.Row.RowType = DataControlRowType.DataRow
) Then
For index As Integer = 0 To gridProduct.Rows.Count - 1
strLP = gridProduct.Rows(index).Ce
lls(0).ToS
tring -----???
Next
End If
End Sub
Start Free Trial