I am facing a weird issue.I have a label on the front end but when I try to use it on the code-behind and run my code I obtain an error: Label does not exist in the current context! The label is shown in intellisense and was working earlier.My team mate had created a back up of the file and it stopped working after that.I deleted the back up files and tried but it doesn't seem to work.Any suggestions will be greatly appreciated.
The following is the code snippet of the front end as well as the code behind:
<img src="sunny.jpg" alt="sunny" height="40px" width="40px"/>
<p><i>(5 minute Averages)</i></p>
<td><b><font size="2px">Current Time</font></b></td>
<td><asp:Label runat="server" ID="Label_Time"></asp:Label></td>
<tr><td><b><font size="2px">Temperature</font></b></td><td><asp:Label runat="server" ID="Label_Temperature"></asp:Label></td>
View Complete Post