Using VB 2005 with .net 2.0 framework.
I am getting this compiler error nad I cannot figure out what in the world is wrong with my webpage. The page works fine until I try and rebuild it in release mode. I'm receiving 47 errors which all same the same thing for each variable. But not all the textboxes with the same identical setup are giving fits, just the ones variables and textboxes that I have recently added.
C:\WebBatsApp 2.0\WebBatsApp\CASEMGMT\Financial\CMSearchSardCtl.ascx.vb(138,0): error BC30451: Name 'txtSpecialCouncilHimself' is not declared.
My code looks like this:
Private Sub GetSard()
Dim SpecialCouncilHimself as string
For Each Row1 In ds.Tables("BaSard").Rows
SpecialCouncilHimself = CDbl(IIf(IsDBNull(Row1 ("SpecialCouncil")), 0.0, Row1("SpecialCouncil")))
Next
End Sub
The line(s) with the errors are this:
txtSpecialCouncil.Text = SpecialCouncil.ToString("C")
I have deleted the bin files and tried to rebuild but still same errors. Can anybody tell me where to begin looking?
I am getting this compiler error nad I cannot figure out what in the world is wrong with my webpage. The page works fine until I try and rebuild it in release mode. I'm receiving 47 errors which all same the same thing for each variable. But not all the textboxes with the same identical setup are giving fits, just the ones variables and textboxes that I have recently added.
C:\WebBatsApp 2.0\WebBatsApp\CASEMGMT\Financial\CMSearchSardCtl.ascx.vb(138,0): error BC30451: Name 'txtSpecialCouncilHimself' is not declared.
My code looks like this:
Private Sub GetSard()
Dim SpecialCouncilHimself as string
For Each Row1 In ds.Tables("BaSard").Rows
SpecialCouncilHimself = CDbl(IIf(IsDBNull(Row1 ("SpecialCouncil")), 0.0, Row1("SpecialCouncil")))
Next
End Sub
The line(s) with the errors are this:
txtSpecialCouncil.Text = SpecialCouncil.ToString("C")
I have deleted the bin files and tried to rebuild but still same errors. Can anybody tell me where to begin looking?