📄 car_manage.aspx
字号:
<%@ Page language="c#" Codebehind="car_manage.aspx.cs" AutoEventWireup="false" Inherits="car1.car_manage" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>car_manage</title>
<meta content="Microsoft Visual Studio .NET 7.1" 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="css/oa.css" type="text/css" rel="stylesheet">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) {
window.open(theURL,winName,features);
}
//-->
</script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<asp:datagrid id="DataGrid1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 32px" runat="server"
AutoGenerateColumns="False" Width="720px" AllowPaging="True" BorderWidth="1px" BorderColor="#663366">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" BackColor="Control"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="id" HeaderText="编号">
<HeaderStyle Width="1%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_code" HeaderText="车辆号码">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_type" HeaderText="车辆类型">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_company" HeaderText="使用部门">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_user" HeaderText="所属司机">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_usermobile" HeaderText="司机手机">
<HeaderStyle Width="10%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_state" HeaderText="状态">
<HeaderStyle Width="4%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_xingcheng" HeaderText="行程">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_gongli" HeaderText="预计公里数">
<HeaderStyle Width="9%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_statestart" HeaderText="起始时间">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="car_stateend" HeaderText="结束时间">
<HeaderStyle Width="8%"></HeaderStyle>
</asp:BoundColumn>
<asp:HyperLinkColumn Text="详细信息" DataNavigateUrlField="id" DataNavigateUrlFormatString="javascript:varwin=window.open('car_detail.aspx?id={0}',null,'width=350,height=400');window.Close();"
HeaderText="详细信息"></asp:HyperLinkColumn>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="" HeaderText="设置" CancelText="" EditText="设置">
<HeaderStyle Width="4%"></HeaderStyle>
</asp:EditCommandColumn>
<asp:HyperLinkColumn Text="备份记录" DataNavigateUrlField="id" DataNavigateUrlFormatString="javascript:varwin=window.open('beifen.aspx?id={0}',null,'width=350,height=550');window.Close();"
HeaderText="备份">
<HeaderStyle Width="4%"></HeaderStyle>
</asp:HyperLinkColumn>
<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
<HeaderStyle Width="4%"></HeaderStyle>
</asp:ButtonColumn>
</Columns>
<PagerStyle NextPageText="下一页" PrevPageText="上一页"></PagerStyle>
</asp:datagrid><A onclick="MM_openBrWindow('addcarForm.aspx','','width=510,height=450')" href="#"><IMG style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute; TOP: 8px" alt="" src="IMAGES/CAR_1.gif"></A>
</form>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -