温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:个人图书管理系统源码
当前文件路径:MyLibary/BookManage/BookDetails.aspx

1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BookDetails.aspx.cs" Inherits="BookManage_BookDetails" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head runat="server"> 7
<title>无标题页</title> 8
</head> 9
<body> 10
<form id="form1" runat="server"> 11
<div> 12
<table style="FONT-SIZE: 12px; FONT-FAMILY: Tahoma; BORDER-COLLAPSE: collapse; " width=400 border="1" borderColor="#2c6ed5" cellspacing="0" cellpadding="0" align="center"> 13
<tr> 14
<td align=center colspan=2> 15
<FONT size="5" face=隶书>书刊详细信息</FONT> 16
</td> 17
</tr> 18
19
<tr> 20
<td> 21
书名: 22
</td> 23
<td> 24
<asp:TextBox id="txtName" runat="server" Width="193px"></asp:TextBox>* 25
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="此项不能为空" ControlToValidate="txtName"></asp:RequiredFieldValidator> 26
</td> 27
</tr> 28
<tr> 29
<td> 30
ISBN号: 31
</td> 32
<td > 33
<asp:TextBox id="txtISBN" runat="server" Width="192px"></asp:TextBox>* 34
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="此项不能为空" ControlToValidate="txtISBN"></asp:RequiredFieldValidator><BR> 35
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ErrorMessage="输入有误,请重输" ValidationExpression="\d{1,}\-\d{1,}\-\d{1,}\-\d{1,}" ControlToValidate="txtISBN"></asp:RegularExpressionValidator></td> 36
</tr> 37
<tr> 38
<td> 39
作者名: 40
</td> 41
<td> 42
<asp:TextBox id="txtAuthor" runat="server" Width="192px"></asp:TextBox>* 43
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ErrorMessage="此项不能为空" ControlToValidate="txtAuthor"></asp:RequiredFieldValidator></td> 44
</tr> 45
<tr> 46
<td> 47
出版社: 48
</td> 49
<td> 50
<asp:TextBox id="txtPublish" runat="server" Width="192px"></asp:TextBox>* 51
<asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" ErrorMessage="此项不能为空" ControlToValidate="txtPublish"></asp:RequiredFieldValidator></td> 52
</tr> 53
<tr> 54
<td> 55
出版时间: 56
</td> 57
<td> 58
<asp:DropDownList ID="ddlYear" runat="server"> 59
</asp:DropDownList>年 60
<asp:DropDownList ID="ddlMonth" runat="server"> 61
</asp:DropDownList>月 62
<asp:DropDownList ID="ddlDay" runat="server"> 63
</asp:DropDownList>日</td> 64
</tr> 65
<tr> 66
<td> 67
图书类型: 68
</td> 69
<td> 70
<asp:RadioButtonList ID="rblClassify" runat="server" Font-Size="9pt" RepeatDirection="Horizontal"> 71
<asp:ListItem Value="2" Selected="True">中文图书</asp:ListItem> 72
<asp:ListItem Value="3">西文图书</asp:ListItem> 73
<asp:ListItem Value="4">中文期刊</asp:ListItem> 74
<asp:ListItem Value="5">西文期刊</asp:ListItem> 75
</asp:RadioButtonList></td> 76
</tr> 77
<tr> 78
<td> 79
主题词: 80
</td> 81
<td > 82
<asp:TextBox id="txtSubject" runat="server" Width="192px"></asp:TextBox>* 83
<asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" ControlToValidate="txtSubject" ErrorMessage="此项不能为空"></asp:RequiredFieldValidator></td> 84
</tr> 85
<tr> 86
<td> 87
索取号: 88
</td> 89
<td> 90
<asp:TextBox id="txtIndex" runat="server" Width="192px"></asp:TextBox>* 91
<asp:RequiredFieldValidator id="RequiredFieldValidator6" runat="server" ControlToValidate="txtIndex" ErrorMessage="此项不能为空"></asp:RequiredFieldValidator></td> 92
</tr> 93
<tr> 94
<td> 95
定价(元): 96
</td> 97
<td> 98
<asp:TextBox id="txtPrice" runat="server" Width="192px"></asp:TextBox>* 99
<asp:RequiredFieldValidator id="RequiredFieldValidator7" runat="server" ErrorMessage="此项不能为空" ControlToValidate="txtPrice"></asp:RequiredFieldValidator><BR> 100
<asp:RegularExpressionValidator id="RegularExpressionValidator" runat="server" ErrorMessage="输入有误,请重输" ValidationExpression="(\d{1,}\.\d*)|(\d{1,})" ControlToValidate="txtPrice"></asp:RegularExpressionValidator></td> 101
</tr> 102
<tr> 103
<td> 104
页数: 105
</td> 106
<td> 107
<asp:TextBox id="txtPageNum" runat="server" Width="192px"></asp:TextBox>* 108
<asp:RequiredFieldValidator id="RequiredFieldValidator8" runat="server" ControlToValidate="txtPageNum" ErrorMessage="此项不能为空"></asp:RequiredFieldValidator></td> 109
</tr> 110
<tr> 111
<td> 112
从书名: 113
</td> 114
<td> 115
<asp:TextBox id="txtSeries" runat="server" Width="190px"></asp:TextBox></td> 116
117
</tr> 118
<tr> 119
<td> 120
说明: 121
</td> 122
<td> 123
<asp:TextBox id="txtDescription" runat="server" Width="203px" TextMode="MultiLine" Height="64px"></asp:TextBox> 124
</td> 125
126
</tr> 127
128
129
<tr> 130
<td colspan=2 align=center> 131
<asp:Label ID="lblMessage" runat="server" ForeColor=red></asp:Label> <br /> 132
<asp:ImageButton ID="imgBtnUpdate" runat="server" ImageUrl="~/Images/Update.GIF" OnClick="imgBtnUpdate_Click" /> 133
134
<asp:ImageButton ID="imgBtnReturn" runat="server" ImageUrl="~/Images/RETURN.GIF" /></td> 135
</tr> 136
</table> 137
</div> 138
</form> 139
</body> 140
</html> 141



