<%@ Page Language="C#" %>
<script runat="server">
class Clock {
public int Second;
public int Minute;
public int Hour;
void SetTime(int intSec, int intMin, int intHour) {
Second = intSec;
Minute = intMin;
Hour = intHour;
}
}
void Page_Load(Object Sender, EventArgs e) {
Clock objClock = new Clock();
objClock.Second = 60;
Response.Write(objClock.Second);
}
</script>
<html><body>
</body></html>
|