📄 showche.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Showche.aspx.cs" Inherits="include_Showche" %>
<!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="whitesmoke">
<form id="form1" runat="server">
<div>
<table style="width: 853px; border-right: black 1px ridge; border-top: black 1px ridge; border-left: black 1px ridge; border-bottom: black 1px ridge;" class="9">
<tr>
<td colspan="3" style="text-align: right; height: 21px; background-color: lightgrey;">
<asp:LinkButton ID="LinkButton2" runat="server" OnClick="LinkButton2_Click">刷新</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click">添加新车辆</asp:LinkButton>
<asp:LinkButton ID="LinkButton4" runat="server" OnClick="LinkButton4_Click">返回首页</asp:LinkButton>
</td>
</tr>
<tr>
<td colspan="3">
<asp:GridView ID="CheGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
Width="843px" BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" GridLines="None" CssClass="9" OnPageIndexChanging="CheGridView_PageIndexChanging" OnRowDeleting="CheGridView_RowDeleting" OnRowDataBound="CheGridView_RowDateBound" OnRowCommand="CheGridView_RowCommand" PageSize="20">
<Columns>
<asp:BoundField HeaderText="时间" DataField="Createdate" DataFormatString="{0:yy年MM月dd日}" HtmlEncode="False">
<ItemStyle Width="100px" />
</asp:BoundField>
<asp:TemplateField HeaderText="车号">
<ItemStyle Width="80px" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Chehao") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="尺寸">
<ItemStyle Width="180px" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Chicun") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="载重">
<ItemStyle Width="60px" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Zaizhong") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="司机姓名">
<ItemStyle Width="80px" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Xingming") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="手机号">
<ItemStyle Width="100px" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Shouji") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="宅电">
<ItemStyle Width="100px" />
<ItemTemplate>
<%#DataBinder.Eval(Container.DataItem,"Zaidian") %>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="操作">
<ItemTemplate>
<a href="Editche.aspx?ShowID= <%#DataBinder.Eval(Container.DataItem,"CheID") %>" target="_blank">编辑</a>
<asp:ImageButton ID="delBtn" runat="server" ImageUrl="~/pic/body/del.gif" ToolTip="删除" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"CheID")%>' CommandName="delete" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
<RowStyle BackColor="WhiteSmoke" ForeColor="Black" />
<SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
</asp:GridView>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -