📄 nzadd.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NZAdd.aspx.cs" Inherits="TSLS_NZAdd" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>内转信息录入与查询</title>
<link href="page.css" type="text/css" rel="stylesheet" />
</head>
<body>
<form id="form1" runat="server">
<div>
<strong>内转单信息</strong>
<asp:Button ID="ClearBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="Clear_Click" Text="清 除" />
<asp:Button ID="SaveBtn" runat="server" class="input_button" OnClick="Save_Click"
Text="保 存" />
<hr size="1" />
<table id="search" align="center" border="0" cellpadding="0" cellspacing="1" width="100%">
<tbody>
<tr class="tr2">
<td height="25" style="padding-left: 5px" width="30%">
内转时间:
<asp:TextBox ID="DDate" runat="server" class="input_text" Width="100"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DDate"
ErrorMessage="必 填"></asp:RequiredFieldValidator>
</td>
<td height="25" style="padding-left: 5px" width="35%">
内转方式<strong>: </strong>
<asp:DropDownList ID="InnerMode" runat="server" class="input_text" Width="200">
<asp:ListItem Selected="True" Value="转入">转入</asp:ListItem>
<asp:ListItem Value="转出">转出</asp:ListItem>
</asp:DropDownList>
</td>
<td height="25" style="padding-left: 5px" width="35%">
备 注:
<asp:TextBox ID="memo" runat="server" class="input_text" Width="200"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="3" height="25" style="padding-left: 5px">
<asp:DataGrid ID="DataGrid2" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" BorderColor="Black" CellPadding="2" font-name="verdana"
Font-Names="verdana" Font-Size="8pt" HeaderStyle-BackColor="#F8FAFC" OnCancelCommand="Grid_Cancel"
OnDeleteCommand="Grid_Delete" OnEditCommand="Grid_Edit" OnPageIndexChanged="Grid2_PageIndexChanged"
OnUpdateCommand="Grid_Update" PageSize="6" Width="100%">
<HeaderStyle BackColor="#F8FAFC" Font-Bold="True" HorizontalAlign="Center" VerticalAlign="Middle" />
<PagerStyle Font-Bold="True" Font-Names="宋体" ForeColor="Blue" HorizontalAlign="Right"
Mode="NumericPages" NextPageText="下一页" Position="Top" PrevPageText="上一页" />
<EditItemStyle BackColor="#E9F0F8" />
<Columns>
<asp:BoundColumn DataField="Code" HeaderText="图书编号" ReadOnly="True" Visible="False">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
</asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="图书名称" ReadOnly="True">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="cbs" HeaderText="版别" ReadOnly="True">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="author" HeaderText="作者" ReadOnly="True">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="price" DataFormatString="{0:C}" HeaderText="定价" ReadOnly="True">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="Innernum" HeaderText="内转数">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:EditCommandColumn CancelText="取消" EditText="编辑" HeaderText="编辑"
UpdateText="更新">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:EditCommandColumn>
<asp:ButtonColumn CommandName="Delete" HeaderText="删除" Text="删除">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:ButtonColumn>
</Columns>
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" />
</asp:DataGrid>
</td>
</tr>
</tbody>
</table>
<br />
<b>图书信息查询</b>
<hr size="1" />
<table id="Table1" align="center" border="0" cellpadding="0" cellspacing="1" class=""
width="100%">
<tbody>
<tr class="tr2">
<td height="25" style="padding-left: 5px; width: 686px;">
检索条件:
<asp:DropDownList ID="query_tj" runat="server" class="input_text" Width="97">
<asp:ListItem Selected="True" Value="name">图书名称</asp:ListItem>
<asp:ListItem Value="ISBN">图书ISBN</asp:ListItem>
<asp:ListItem Value="author">作者</asp:ListItem>
<asp:ListItem Value="selfcode">自编码</asp:ListItem>
<asp:ListItem Value="memo">备注</asp:ListItem>
</asp:DropDownList>
检索内容:
<asp:TextBox ID="query_content" runat="server" class="input_text" Width="120"></asp:TextBox>
<asp:Button ID="QueryBtn" runat="server" CausesValidation="False" class="input_button"
OnClick="Query_Click" Text="查 询" />
</td>
</tr>
<tr>
<td height="25" style="padding-left: 5px; width: 100%; text-align: left;">
<asp:DataGrid ID="DataGrid1" runat="server" AllowSorting="True"
AutoGenerateColumns="False" BorderColor="Black" CellPadding="2" font-name="verdana"
Font-Names="verdana" Font-Size="8pt" HeaderStyle-BackColor="#F8FAFC" OnItemCommand="AddToSub_Click"
OnPageIndexChanged="Grid1_PageIndexChanged" PageSize="6" Width="100%">
<HeaderStyle BackColor="#F8FAFC" Font-Bold="False" HorizontalAlign="Center" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
<PagerStyle Font-Bold="True" Font-Names="宋体" ForeColor="Blue" HorizontalAlign="Right"
Mode="NumericPages" NextPageText="下一页" PrevPageText="上一页" />
<Columns>
<asp:BoundColumn DataField="Code" HeaderText="图书编号" ReadOnly="True" Visible="False">
</asp:BoundColumn>
<asp:BoundColumn DataField="Name" HeaderText="图书名称">
<HeaderStyle Width="130px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
</asp:BoundColumn>
<asp:BoundColumn DataField="abbrname" HeaderText="版别" ReadOnly="True">
<HeaderStyle Width="40px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="price" DataFormatString="{0:C}" HeaderText="定价">
<HeaderStyle Width="30px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="author" HeaderText="作者">
<HeaderStyle Width="40px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" />
</asp:BoundColumn>
<asp:BoundColumn DataField="version" HeaderText="版次">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
<HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="storeamountz" HeaderText="总店库存" ReadOnly="True">
<HeaderStyle Width="60px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:BoundColumn DataField="storeamounta" HeaderText="门市库存" ReadOnly="True">
<HeaderStyle Width="60px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:BoundColumn>
<asp:ButtonColumn CommandName="addtoout" HeaderText="操作" Text="添加至内转单" ButtonType="PushButton">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
<HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Center" />
</asp:ButtonColumn>
</Columns>
</asp:DataGrid><webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True"
BackColor="White" BorderColor="White" ButtonImageAlign="Middle" CssClass="p_num"
CurrentPageButtonClass="p_num_currentPage" CustomInfoClass="" CustomInfoStyle=""
EnableTheming="True" FirstPageText="[首页]" Font-Size="11pt" Font-Underline="False"
InputBoxStyle="p_input" LastPageText="[末页]" NextPageText="[下页]" NumericButtonCount="8"
NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged"
PageSize="6" PagingButtonSpacing="0px" PrevPageText="[上页]" ShowInputBox="Never"
ShowNavigationToolTip="True" ToolTip="快速方便的导航" UrlPaging="True" Width="100%" HorizontalAlign="Right">
</webdiyer:AspNetPager>
</td>
</tr>
</tbody>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -