Below is my code which is in my codebehind, and my button which is in the aspx page itself. I get the above error at Compilation time. I do not know what it means. Could you help explain it to me? (I have tried it as Public and Private.)
Code:
Private Sub addImg_Click(ByVal sender As Object, ByVal e As EventArgs) Handles addImg.Click
Dim yB As Boolean
If jobNum.Text = "" Then jobNum.Text = newWebNum("w")
If Request.Form("radioYb") <> "None" And Request.Form("radioYb") <> "" Then
yB = True
If ybjobNum.Text = "" Then ybjobNum.Text = newWebNum("y")
End If
addRecord(yB)
img1.Visible = False
End Sub
...
<asp:Button id="ordLkpBtn" onclick="ordLkp_Click" runat="server" Text="Lookup Job"></asp:Button>