Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30451: Name 'i' is not declared.

Source Error:


Line 201:                s &= "<tr class=" & Chr(34) & "blankrow" & Chr(34) & "></tr><Tr><Td >Date : " & dat & "</td><td></td><td>Weekday :" & Format(CDate(dat), "dddd") & " </td></tr>"
Line 202:                s &= "<tr class=" & Chr(34) & "blankrow" & Chr(34) & "></tr><Tr><Td class=" & Chr(34) & "viewboxhead" & Chr(34) & ">Hora</td><td class=" & Chr(34) & "viewboxhead" & Chr(34) & ">From Time</td><td class=" & Chr(34) & "viewboxhead" & Chr(34) & ">End Time</td></tr>"
Line 203:                For i = 0 To 23
Line 204:                    If i < 12 Then tt = ft + (dth / 12) Else tt = ft + (nth / 12)
Line 205:                    s &= "<Tr><td class=" & Chr(34) & "viewboxdata" & Chr(34) & ">" & rt(d) & "</td><td class=" & Chr(34) & "viewboxdata" & Chr(34) & ">" & IIf(ft > 24, "+", "") & N2Time(ft Mod 24) & "</td><td class=" & Chr(34) & "viewboxdata" & Chr(34) & ">" & IIf(tt > 24, "+", "") & N2Time(tt Mod 24) & "</td></tr>"

Source File: D:\inetpub\vhosts\a1astro.com\httpdocs\Astrologydetail.aspx.vb    Line: 203






Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175