I drag and drop a Label control on my ABC.ASPX page.It Compiles correctly. But the control (Label2) is not available in code-behind ABC.ASPX.cs for value assignment.

What is the resolution?

<%@ Page language="c#" CodeBehind="ABC.aspx.cs" AutoEventWireup="false" %> 

 <asp:Label ID="Label2" runat="server" Font-Bold="True"></asp:Label>
Edit
Report