sorry guys... I found the solution.. which is this (in my page_Load event)
For Each row As GridViewRow In GridView1.Rows
Dim imageUrl As String = CType(row.FindControl("Ima
Dim lbl As Label = CType(row.FindControl("Lab
If imageUrl = "N/A" Then lbl.Text = "no photo"
Next
anyway, the line that was causing the error was this one
If imageUrl = "N/A" Then CType(e.Row.FindControl("L
can I close this question ?
Main Topics
Browse All Topics





by: abelPosted on 2008-07-25 at 07:28:15ID: 22088892
What line is causing that error? On first sight, things look ok to me...