📄 add_dblist.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="Admin_Add_DbList, App_Web_kroltzhb" %>
<!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>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1"/>
<meta name="CODE_LANGUAGE" content="C#"/>
<meta name="vs_defaultClientscript" content="Javascript"/>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"/>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
</head>
<body background="../images/bg-2.jpg">
<form id="frmAnnounce" method="post" runat="server" style="left: 0px; position: absolute; top: 0px;">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="f12" style="height: 18px; font-size: 12pt; color: #0000ff;">
你的位置:操作管理-->设备调拨管理-->设备加入调拨<asp:TextBox ID="TextBox4" runat="server" Visible="False">0</asp:TextBox></td>
<td style="height: 18px"> </td>
</tr>
</table><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right" style="font-size: 9pt; height: 20px;">
共有<asp:label id="lblTotal" runat="server" Width="8px" CssClass="f12">0</asp:label>
页 <asp:linkbutton id="btnFirst" runat="server" OnClick="btnFirst_Click" CausesValidation="False">首页</asp:linkbutton>
<asp:linkbutton id="btnPrev" runat="server" OnClick="btnPrev_Click" CausesValidation="False">上页</asp:linkbutton>
<asp:linkbutton id="btnNext" runat="server" OnClick="btnNext_Click" CausesValidation="False">下页</asp:linkbutton>
<asp:linkbutton id="btnLast" runat="server" OnClick="btnLast_Click" CausesValidation="False">尾页</asp:linkbutton>
当前第<asp:Label ID="labnowpage" runat="server" Text="1"></asp:Label>页 第<asp:DropDownList
ID="ddl_nowpage" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddl_nowpage_SelectedIndexChanged"
Width="40px">
</asp:DropDownList>页<input id="Hidden1" style="width: 1px" type="hidden" />
</td>
<td align="right" style="font-size: 9pt; height: 20px">
</td>
</tr>
<tr>
<td>
<asp:GridView ID="GridView1" runat="server"
BorderStyle="Double" BorderWidth="3px" CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True" AutoGenerateColumns="False" Width="100%" style="vertical-align: middle; text-align: center" HorizontalAlign="Center" DataKeyNames="id" BorderColor="DarkGray" OnRowCommand="GridView1_RowCommand" PageSize="5" OnRowEditing="GridView1_RowEditing">
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:CommandField ButtonType="Button" EditText="选择" ShowEditButton="True">
<HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
</asp:CommandField>
<asp:BoundField DataField="id" HeaderText="设备编号" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="sblb" HeaderText="设备类别" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="sbmc" HeaderText="设备名称" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="sbxh" HeaderText="设备型号" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="sybm" HeaderText="所属单位">
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="sbzt" HeaderText="设备状态" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="ccrq" HeaderText="出产日期" DataFormatString="{0:d}" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="qysj" HeaderText="使用时间" DataFormatString="{0:d}" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="cgsj" HeaderText="采购时间" DataFormatString="{0:d}" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="bz" HeaderText="备注" >
<HeaderStyle Wrap="False" />
</asp:BoundField>
</Columns>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle Font-Bold="True" />
<HeaderStyle BackColor="#8080FF" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
</asp:GridView>
</td>
<td>
</td>
</tr>
</table>
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr style="width: 100%;">
<td height="330" vAlign="top" style="WIDTH: 100%">
<table class="f12" cellSpacing="1" cellPadding="0" width="100%" bgColor="#2c8ed8" border="0">
<tr bgColor="#e6f2fb">
<td style="HEIGHT: 16px; width: 84px;" align="center" bgColor="#cce4f7">
设备类别:</td>
<td style="WIDTH: 211px; HEIGHT: 16px">
<asp:TextBox ID="sblb" runat="server" ReadOnly="True"></asp:TextBox></td>
<td class="f12" style="HEIGHT: 16px; width: 79px; text-align: left;" align="center" bgColor="#cce4f7">
设备名称: </td>
<td style="HEIGHT: 16px">
<asp:TextBox ID="sbmc" runat="server" ReadOnly="True"></asp:TextBox>
<input id="Hidden2" type="hidden" runat="server"/></td>
</tr>
<tr bgColor="#e6f2fb">
<td align="center" bgColor="#cce4f7" style="height: 25px; width: 84px;">设备型号:</td>
<td style="WIDTH: 211px; height: 25px;">
<asp:TextBox ID="sbxh" runat="server" ReadOnly="True"></asp:TextBox></td>
<td class="f12" align="center" bgColor="#cce4f7" style="height: 25px; width: 79px;">设备状态:</td>
<td style="height: 25px">
<asp:TextBox ID="sbzt" runat="server" ReadOnly="True"></asp:TextBox></td>
</tr>
<tr bgColor="#e6f2fb">
<td align="center" bgColor="#cce4f7" style="width: 84px; height: 25px">
原所属单位:</td>
<td style="WIDTH: 211px; height: 25px;">
<asp:TextBox ID="ybm" runat="server" ReadOnly="True"></asp:TextBox></td>
<td class="f12" align="center" bgColor="#cce4f7" style="width: 79px; height: 25px;">
新所属单位:</td>
<td style="height: 25px">
<asp:textbox id="ssbm" runat="server"></asp:textbox>
*<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ssbm"
ErrorMessage="新所属单位不能为空!" Width="83px"></asp:RequiredFieldValidator></td>
</tr>
<tr bgcolor="#e6f2fb">
<td align="center" bgcolor="#cce4f7" style="width: 84px; height: 25px">
调拨日期:</td>
<td style="width: 211px; height: 25px">
<asp:TextBox ID="dbrq" runat="server" ReadOnly="True"></asp:TextBox>
<asp:Button ID="xz" runat="server" BackColor="#8080FF" BorderColor="#C0C0FF" BorderStyle="Double"
OnClick="xz_Click" Text="选择" CausesValidation="False" />
<asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66"
BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
ForeColor="#663399" Height="197px" OnSelectionChanged="Calendar1_SelectionChanged"
ShowGridLines="True" Visible="False" Width="192px">
<SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
<TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
<SelectorStyle BackColor="#FFCC66" />
<OtherMonthDayStyle ForeColor="#CC9966" />
<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
<DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
<TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
</asp:Calendar>
</td>
<td align="center" bgcolor="#cce4f7" class="f12" style="width: 79px; height: 25px">
</td>
<td style="height: 25px">
</td>
</tr>
<tr bgColor="#e6f2fb">
<td align="center" bgColor="#cce4f7" height="175" style="width: 84px">备注:</td>
<td colSpan="3">
<asp:textbox id="my_bz" runat="server" Height="137px" Width="432px" TextMode="MultiLine"></asp:textbox>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
ShowSummary="False" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td vAlign="top" align="center" colSpan="2">
<asp:button id="Button1" runat="server" CssClass="submit" Text="加入调拨" OnClick="Button1_Click"></asp:button>
<asp:Button ID="Button2" runat="server" CssClass="submit" OnClick="Button2_Click"
Text="重置" /></td>
</tr>
</table>
<table width="100%">
<tr style="width: 100%;">
<td style="width: 70%; height: 20px;" align="right"></td>
<td align="right" style="width: 15%; height: 20px;"></td>
<td align="right" style="height: 20px">
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -