📄 showhuo.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Showhuo.aspx.cs" Inherits="include_Showhuo" %>
<!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="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center" bgcolor="gainsboro">
<form id="form1" runat="server">
<div>
<table style="width: 853px; border-right: thin groove; border-top: thin groove; border-left: thin groove; border-bottom: thin groove;" class="9">
<tr>
<td class="9" colspan="2" style="height: 26px; text-align: left">
<asp:DropDownList ID="drpYear" runat="server" Width="56px">
<asp:ListItem Value="2008" Selected="True">2008</asp:ListItem>
<asp:ListItem>2009</asp:ListItem>
<asp:ListItem>2010</asp:ListItem>
<asp:ListItem>2011</asp:ListItem>
<asp:ListItem>2012</asp:ListItem>
<asp:ListItem>2013</asp:ListItem>
<asp:ListItem>2014</asp:ListItem>
</asp:DropDownList>
年<asp:DropDownList ID="drpMonth" runat="server" Width="42px">
</asp:DropDownList>月
<asp:DropDownList ID="drpDay" runat="server" Width="42px">
</asp:DropDownList>日 (至)
<asp:DropDownList ID="drpYear1" runat="server" Width="56px">
<asp:ListItem Value="2008" Selected="True">2008</asp:ListItem>
<asp:ListItem>2009</asp:ListItem>
<asp:ListItem>2010</asp:ListItem>
<asp:ListItem>2011</asp:ListItem>
<asp:ListItem>2012</asp:ListItem>
<asp:ListItem>2013</asp:ListItem>
<asp:ListItem>2014</asp:ListItem>
</asp:DropDownList>
年<asp:DropDownList ID="drpMonth1" runat="server" Width="42px">
</asp:DropDownList>月
<asp:DropDownList ID="drpDay1" runat="server" Width="42px">
</asp:DropDownList>日
<asp:Button ID="Button1" runat="server" Text="搜索" Width="49px" OnClick="Button1_Click" /></td>
<td style="text-align: right; height: 26px;" class="9">
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">收货添加</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">刷新</asp:LinkButton>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">返回首页</asp:HyperLink>
</td>
</tr>
<tr>
<td colspan="3">
<asp:GridView ID="HuoGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="842px" OnRowCommand="HuoGridView_RowCommand" OnRowDeleting="HuoGridView_RowDeleting" OnRowDataBound="HuoGridView_RowDataBound" OnPageIndexChanging="HuoGridView_PageIndexChanging" CellPadding="3" GridLines="None" CssClass="9" PageSize="20" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellSpacing="1">
<Columns>
<asp:BoundField DataField="Createdate" DataFormatString="{0:yy年MM月dd日}" HeaderText="日期" HtmlEncode="False" >
<ItemStyle Width="80px" />
</asp:BoundField>
<asp:TemplateField HeaderText="货单号">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Huohao") %>
</ItemTemplate>
<ItemStyle Width="80px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="货物名称">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Huoming") %>
</ItemTemplate>
<ItemStyle Width="120px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="到站">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Daozhan") %>
</ItemTemplate>
<ItemStyle Width="140px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="件数">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Jianshu") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="重量">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Zhongliang") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="联系人">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Lianren") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="电话">
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Lianhua") %>
</ItemTemplate>
<ItemStyle Width="80px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="操作">
<ItemTemplate>
<a href="Edithuo.aspx?ShowID=<%#DataBinder.Eval(Container.DataItem,"HuowuID") %>" target="_blank">编辑</a>
<asp:ImageButton ID="delBtn" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"HuowuID")%>'
CommandName="delete" ImageUrl="~/pic/body/del.gif" />
</ItemTemplate>
<ItemStyle Width="60px" />
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="#DEDFDE" ForeColor="Black" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:GridView>
</td>
</tr>
<tr>
<td style="width: 83px">
</td>
<td style="width: 502px">
</td>
<td>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -