(Original) TimeStamp control with the use of [example] - HTML pages script
This example has been fully tested and, if other requirements of its own modifications:
1 <% @ Page language = "c #" Codebehind = "TimeStamp.aspx.cs" AutoEventWireup = "false" Inherits = "TimeStamp.TimeStamp"%>
2 <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN">
3 <HTML>
4 <HEAD>
5 <title> WebForm1 </ title>
6 <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
7 <meta name="CODE_LANGUAGE" Content="C#">
8 <meta name="vs_defaultClientScript" content="JavaScript">
9 <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
10 </ HEAD>
11 <body MS_POSITIONING="GridLayout">
12 <form id="Form1" method="post" runat="server">
13 <FONT face="宋体">
14 <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="1">
15 <TR>
16 <TD align="right"> primary key out </ TD>
17 <TD>
18 <asp:TextBox id="tbKey" runat="server" ReadOnly="True"> </ asp: TextBox> </ TD>
19 </ TR>
20 <TR>
21 <TD align="right"> general presentation </ TD>
22 <TD>
23 <asp:TextBox id="tbValue" runat="server"> </ asp: TextBox> </ TD>
24 </ TR>
25 <TR>
26 <TD align="right"> timestamp </ TD>
27 <TD>
28 <asp:TextBox id="tbTimeStamp" runat="server" ReadOnly="True"> </ asp: TextBox> </ TD>
29 </ TR>
30 </ TABLE>
31 </ FONT>
32 <asp: Button id = "Button1" style = "Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 112px" runat = "server"
Text = 33 "Update"> </ asp: Button>
34 <asp:Label id="Label1" style="Z-INDEX: 102; LEFT: 80px; POSITION: absolute; TOP: 120px" runat="server"> Label </ asp: Label>
35 </ form>
36 </ body>
37 </ HTML>
38
2 <! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN">
3 <HTML>
4 <HEAD>
5 <title> WebForm1 </ title>
6 <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
7 <meta name="CODE_LANGUAGE" Content="C#">
8 <meta name="vs_defaultClientScript" content="JavaScript">
9 <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
10 </ HEAD>
11 <body MS_POSITIONING="GridLayout">
12 <form id="Form1" method="post" runat="server">
13 <FONT face="宋体">
14 <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="1">
15 <TR>
16 <TD align="right"> primary key out </ TD>
17 <TD>
18 <asp:TextBox id="tbKey" runat="server" ReadOnly="True"> </ asp: TextBox> </ TD>
19 </ TR>
20 <TR>
21 <TD align="right"> general presentation </ TD>
22 <TD>
23 <asp:TextBox id="tbValue" runat="server"> </ asp: TextBox> </ TD>
24 </ TR>
25 <TR>
26 <TD align="right"> timestamp </ TD>
27 <TD>
28 <asp:TextBox id="tbTimeStamp" runat="server" ReadOnly="True"> </ asp: TextBox> </ TD>
29 </ TR>
30 </ TABLE>
31 </ FONT>
32 <asp: Button id = "Button1" style = "Z-INDEX: 101; LEFT: 16px; POSITION: absolute; TOP: 112px" runat = "server"
Text = 33 "Update"> </ asp: Button>
34 <asp:Label id="Label1" style="Z-INDEX: 102; LEFT: 80px; POSITION: absolute; TOP: 120px" runat="server"> Label </ asp: Label>
35 </ form>
36 </ body>
37 </ HTML>
38
Tags: Timestamp
Releated Java Articles
March 31, 2006 | Filed Under API for Java |






