📄 check.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Check.aspx.cs" Inherits="Check" %>
<!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>
</head>
<body style="background-image: url(pictrue/admin.jpg)">
<form id="form1" runat="server">
<div style="color: #0000ff" align="right">
<asp:Button ID="btnOut" runat="server" BackColor="#8080FF" ForeColor="Blue" Text="退出"
Visible="False" />
<table style="width: 729px; height: 287px">
<tr>
<td style="width: 57px; height: 45px">
<asp:Label ID="lblCheckDate" runat="server" EnableTheming="True" Text="检查日期" Width="67px"></asp:Label></td>
<td style="width: 61px; height: 45px">
<asp:TextBox ID="txtCheckDate" runat="server" Width="113px"></asp:TextBox></td>
<td style="width: 34px; height: 45px">
<asp:Label ID="lblDepart" runat="server" Text="科别" Width="38px"></asp:Label></td>
<td style="width: 14px; height: 45px">
<asp:DropDownList ID="ddlDepart" runat="server" Width="95px">
<asp:ListItem>请选择:</asp:ListItem>
<asp:ListItem>内科</asp:ListItem>
<asp:ListItem>外科</asp:ListItem>
<asp:ListItem>骨科</asp:ListItem>
<asp:ListItem Value="心脑血管科"></asp:ListItem>
<asp:ListItem>其它</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 58px; height: 45px;">
<asp:Label ID="lblNurseName" runat="server" Text="被检查人员" Width="94px"></asp:Label></td>
<td style="width: 73px; height: 45px;">
<asp:TextBox ID="txtNurseName" runat="server" Width="90px"></asp:TextBox></td>
<td align="left" colspan="3" style="height: 45px">
<asp:Label ID="lblAdminName" runat="server" Text="审核人" Width="82px"></asp:Label></td>
<td colspan="2" style="height: 45px">
<asp:TextBox ID="txtAdminName" runat="server" Width="94px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 57px; height: 26px;">
<asp:Label ID="lblItems" runat="server" Text="考核项目" Width="68px"></asp:Label></td>
<td style="width: 61px; height: 26px;">
<asp:DropDownList ID="ddlItems" runat="server" AutoPostBack="True" DataSourceID="AccessDataSource1"
DataTextField="CheckItem" DataValueField="CheckItemID" Width="117px">
<asp:ListItem>请选择:</asp:ListItem>
</asp:DropDownList></td>
<td style="width: 34px; height: 26px;">
<asp:Label ID="lblDetail" runat="server" Text="细类"></asp:Label></td>
<td style="width: 14px; height: 26px;">
<asp:DropDownList ID="ddlDetails" runat="server" DataSourceID="AccessDataSource2"
DataTextField="StandDetail" DataValueField="StandDetailID" Width="94px">
</asp:DropDownList></td>
<td style="width: 58px; height: 26px;">
<asp:Label ID="lblMark" runat="server" Text="得分:" Width="92px"></asp:Label></td>
<td style="width: 73px; height: 26px;">
<asp:TextBox ID="txtMark" runat="server" Width="89px"></asp:TextBox></td>
<td colspan="3" style="height: 26px">
<asp:Label ID="lblResult" runat="server"></asp:Label></td>
<td style="width: 10px; height: 26px;">
<asp:Button ID="btnRegist" runat="server" BackColor="SlateBlue" ForeColor="Blue"
OnClick="btnRegist_Click" Text="登记" Width="46px" /></td>
<td style="height: 26px">
<asp:Button ID="btnCancel" runat="server" BackColor="SlateBlue" ForeColor="Blue"
OnClick="btnCancel_Click" Text="重置" Width="50px" /></td>
</tr>
<tr>
<td colspan="4" style="height: 249px; vertical-align: top;" align="left">
<br />
<br />
<br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
</asp:GridView>
</td>
<td style="width: 58px; height: 249px; vertical-align: top;" align="left">
</td>
<td colspan="4" style="height: 249px">
</td>
<td colspan="2" style="height: 249px; vertical-align: top;" align="right">
<asp:Button ID="btnBack" runat="server" BackColor="MediumSlateBlue" ForeColor="Blue"
OnClick="btnBack_Click" Text="返回" Width="51px" /></td>
</tr>
</table>
</div>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="App_Data/Nurse.mdb"
SelectCommand="SELECT [CheckItem], [CheckItemID], [CheckStTotal] FROM [StandardItems]">
</asp:AccessDataSource>
<asp:AccessDataSource ID="AccessDataSource2" runat="server" DataFile="App_Data/Nurse.mdb"
SelectCommand="SELECT [StandMark], [BelongedItem], [StandDetail], [StandDetailID] FROM [StandDetail] WHERE ([BelongedItem] = ?)">
<SelectParameters>
<asp:ControlParameter ControlID="ddlItems" Name="BelongedItem" PropertyName="SelectedValue"
Type="String" />
</SelectParameters>
</asp:AccessDataSource>
<br />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -