01.
<%@ Page Language=
"VB"
%>
02.
<%@ Import
Namespace
=
"System.Math"
%>
03.
<script runat=
"server"
>
04.
05.
Sub
Page_Load(sender
As
Object
, e
As
EventArgs)
06.
Me
.lblText1.Text = Cos(100)
07.
Me
.lblText2.Text = Cos(200)
08.
Me
.lblText3.Text = Cos(-100)
09.
Me
.lblText4.Text = Cos(-200)
10.
Me
.lblText5.Text = Cos(300)
11.
End
Sub
12.
13.
</script>
14.
<html>
15.
<head>
16.
</head>
17.
<body>
18.
<form runat=
"server"
>
19.
<asp:Label id=
"lblText1"
runat=
"server"
></asp:Label><br />
20.
<asp:Label id=
"lblText2"
runat=
"server"
></asp:Label><br />
21.
<asp:Label id=
"lblText3"
runat=
"server"
></asp:Label><br />
22.
<asp:Label id=
"lblText4"
runat=
"server"
></asp:Label><br />
23.
<asp:Label id=
"lblText5"
runat=
"server"
></asp:Label><br />
24.
</form>
25.
</body>
26.
</html>