Ya sure dear arbaaz jalil.
Visual Studio facilitates us that we can also define c# code within our HTML code.
If you want to bind any variable or runtime data to any control from your inherited class then you can do it using <%# %> tag.
here is some sample code where i am trying to binding QueryString value to a Hyperlink.
See below code.
<asp:hyperlink id="HyperLink1" navigateurl="<%= Request.QueryString["id"] %>" runat="server" xmlns:asp="#unknown"><![CDATA[</asp:hyperlink>
<asp:label id="Label1" runat="server" xmlns:asp="#unknown"><![CDATA[</asp:label>
<asp:label id="Label2" runat="server" xmlns:asp="#unknown"><![CDATA[</asp:label>
<%= Request.QueryString["id"] %>