(原创)使用TimeStamp控制并发问题[示例]-页面HTML脚本
本示例已完全测试通过,如有其他要求自行修改:
(原创)使用TimeStamp控制并发问题[示例]-简要描述
(原创)使用TimeStamp控制并发问题[示例]-.cs脚本
(原创)使用TimeStamp控制并发问题[示例]-创建后台数据库脚本
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">主键列</TD>
17 <TD>
18 <asp:TextBox id="tbKey" runat="server" ReadOnly="True"></asp:TextBox></TD>
19 </TR>
20 <TR>
21 <TD align="right">一般列</TD>
22 <TD>
23 <asp:TextBox id="tbValue" runat="server"></asp:TextBox></TD>
24 </TR>
25 <TR>
26 <TD align="right">时间戳</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"
33 Text="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">主键列</TD>
17 <TD>
18 <asp:TextBox id="tbKey" runat="server" ReadOnly="True"></asp:TextBox></TD>
19 </TR>
20 <TR>
21 <TD align="right">一般列</TD>
22 <TD>
23 <asp:TextBox id="tbValue" runat="server"></asp:TextBox></TD>
24 </TR>
25 <TR>
26 <TD align="right">时间戳</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"
33 Text="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
(原创)使用TimeStamp控制并发问题[示例]-简要描述
(原创)使用TimeStamp控制并发问题[示例]-.cs脚本
(原创)使用TimeStamp控制并发问题[示例]-创建后台数据库脚本