it is my first asp.net program.
my system:win2000profesion ie6 ,.netframework sdk 1.1.
and I write the below code in wordpad and save as t1.apsx and save it
in /wwwroot.
but when I explore it in IIS.Nothing is shown. It is a blank page.
I do not know why
your label declaration is incorrect
<HTML>
<script Language="VB" runat="server"
Sub page_load ( sender as object , e as eventargs)
dim a,b as integer
a=5
b=3label1.text="a is" &a
end sub
</script
<body>
<asp: label id="label1" runat= "server"
</body>
</HTML>
it shou;d be like this,
<asp:Label id="Label1" runat="server">Label</asp:Label>
thanks
0 comments:
Post a Comment