📄 addbooktype.aspx
字号:
<%@ Page language="c#" Codebehind="AddBookType.aspx.cs" AutoEventWireup="false" Inherits="BookShop.AddBookType" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>AddBookType</title>
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="ioffice.css" type="text/css" rel="stylesheet">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="AddBookType" method="post" runat="server">
<FONT face="宋体">
<TABLE id="Table1" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD vAlign="top" align="middle">
<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="95%" border="0">
<TR>
<TD height="10"></TD>
</TR>
<TR>
<TD height="130">
<DIV class="box" style="WIDTH: 100%; POSITION: relative; HEIGHT: 100.77%" ms_positioning="GridLayout">
<asp:TextBox id="tb_booktype" style="Z-INDEX: 101; LEFT: 118px; POSITION: absolute; TOP: 15px" runat="server" Width="202px" Height="23px" CssClass="edline"></asp:TextBox>
<asp:Label id="Label2" style="Z-INDEX: 102; LEFT: 68px; POSITION: absolute; TOP: 48px" runat="server" CssClass="td">Memo:</asp:Label>
<asp:Label id="Label1" style="Z-INDEX: 103; LEFT: 44px; POSITION: absolute; TOP: 16px" runat="server" CssClass="td">Book Type:</asp:Label>
<asp:TextBox id="tb_memo" style="Z-INDEX: 104; LEFT: 118px; POSITION: absolute; TOP: 49px" runat="server" Width="532px" Height="65px" TextMode="MultiLine"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" style="Z-INDEX: 105; LEFT: 327px; POSITION: absolute; TOP: 19px" runat="server" ErrorMessage="书籍类型名不能为空!" ControlToValidate="tb_booktype">*</asp:RequiredFieldValidator></DIV>
</TD>
</TR>
<TR>
<TD height="15"></TD>
</TR>
<TR>
<TD>
<asp:ImageButton id="ib_savecontinue" runat="server" ImageUrl="img/savecon.gif"></asp:ImageButton>
<asp:ImageButton id="ib_saveexit" runat="server" ImageUrl="img/saveexi.gif"></asp:ImageButton>
<asp:ImageButton id="ib_exit" runat="server" ImageUrl="img/sexit.gif" CausesValidation="False"></asp:ImageButton></TD>
</TR>
<TR>
<TD height="15"></TD>
</TR>
<TR>
<TD>
<asp:DataGrid id="dg_booktype" runat="server" Width="100%" AutoGenerateColumns="False" AllowSorting="True">
<AlternatingItemStyle BackColor="Beige"></AlternatingItemStyle>
<ItemStyle CssClass="td" BackColor="#F3E2A6"></ItemStyle>
<HeaderStyle CssClass="tttable" BackColor="#FFFFC0"></HeaderStyle>
<Columns>
<asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
<asp:BoundColumn DataField="name" SortExpression="name" HeaderText=" Name Of BookType ">
<HeaderStyle Width="150px"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="memo" HeaderText="Memo"></asp:BoundColumn>
<asp:TemplateColumn>
<HeaderStyle Width="20px"></HeaderStyle>
<ItemTemplate>
<asp:ImageButton id="ib_delete" runat="server" ImageUrl="img/delete.gif" CausesValidation="False"></asp:ImageButton>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid></TD>
</TR>
<TR>
<TD></TD>
</TR>
<TR>
<TD>
<asp:ValidationSummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:ValidationSummary>
<asp:Literal id="ErrMsg" runat="server"></asp:Literal></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</FONT>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -