I have a value in a DetailsView field that I need to perform some math functions on, but I keep getting an "not declared' error message.
Please let me know if there is a better way to accomplish what I thought was an easy task.
Thanks
John
Protected Sub DetailsView_Handicap_DataBound(sender As Object, e As System.EventArgs) Handles DetailsView_Handicap.DataBound
If DetailsView_Handicap.CurrentMode = DetailsViewMode.ReadOnly Then
If DetailsView_Handicap.Rows.Count > 0 Then
Dim hc As String = DetailsView_Handicap.Rows(0).Cells(1).Text
lblHC.Text = hc
Dim hi As Single = Convert.ToSingle(hc)
End If
End If
lblPines.Text = hi * (119 ...
Go to the complete details ...