?? bedid.aspx
字號:
<%@ Page language="c#" Codebehind="bedid.aspx.cs" AutoEventWireup="false" Inherits="醫院管理系統.bedid" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>bedid</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">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<FONT id="FONT1" face="宋體">
<asp:validationsummary id="ValidationSummary1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 80px"
runat="server" ShowSummary="False" ShowMessageBox="True"></asp:validationsummary>
<TABLE id="Table2" height="0" cellSpacing="1" cellPadding="1" width="70%" align="center"
border="1">
<TR>
<TD align="center" colSpan="2" height="0"><FONT face="宋體"><asp:panel id="p1" Width="376px" Runat="server" Height="262px" Visible="False"><FONT face="宋體">
<TABLE id="Table1" style="WIDTH: 355px; HEIGHT: 619px" cellSpacing="1" cellPadding="1"
width="355" align="center" border="1">
<TR>
<TD align="center" colSpan="2">
<asp:Image id="Image1" runat="server" Height="80px" Width="372px" ImageUrl="img/11.jpg"></asp:Image></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 4px">床號:</TD>
<TD style="HEIGHT: 4px">
<asp:TextBox id="tch" runat="server" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="tch" ErrorMessage="床號不能為空">*</asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 4px">掛號號碼:</TD>
<TD style="HEIGHT: 4px">
<asp:TextBox id="tnum" runat="server" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="tnum" ErrorMessage="掛號號碼不能為空">*</asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 143px">姓名:</TD>
<TD>
<asp:TextBox id="tname" runat="server" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="tname" ErrorMessage="姓名不能為空">*</asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 6px">年齡:</TD>
<TD style="HEIGHT: 6px">
<asp:TextBox id="tage" runat="server" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" ControlToValidate="tage" ErrorMessage="年齡不能為空">*</asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 16px">性別:</TD>
<TD style="HEIGHT: 16px">
<asp:RadioButtonList id="r1" runat="server" Width="104px" RepeatDirection="Horizontal">
<asp:ListItem Value="男">男</asp:ListItem>
<asp:ListItem Value="女">女</asp:ListItem>
</asp:RadioButtonList>
<asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" ControlToValidate="r1" ErrorMessage="性別你能為空">*</asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 4px">級別:</TD>
<TD style="HEIGHT: 4px">
<asp:DropDownList id="d1" runat="server" Width="72px">
<asp:ListItem Value="一般">一般</asp:ListItem>
<asp:ListItem Value="中等">中等</asp:ListItem>
<asp:ListItem Value="高級">高級</asp:ListItem>
</asp:DropDownList></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 1px">負責人:</TD>
<TD style="HEIGHT: 1px">
<asp:DropDownList id=d2 runat="server" Width="88px" DataTextField="姓名" DataMember="Table" DataSource="<%# zhuyuan1 %>">
</asp:DropDownList></TD>
</TR>
<TR>
<TD style="WIDTH: 143px; HEIGHT: 4px">進出實況:</TD>
<TD style="HEIGHT: 4px">
<asp:DropDownList id="d3" runat="server" Width="72px">
<asp:ListItem Value="進院">進院</asp:ListItem>
<asp:ListItem Value="出院">出院</asp:ListItem>
</asp:DropDownList></TD>
</TR>
<TR>
<TD style="HEIGHT: 5px" align="center" bgColor="#f2eaee" colSpan="2">
<asp:Button id="Button1" runat="server" Text="提交"></asp:Button>
<asp:Button id="Button2" runat="server" Text="出院"></asp:Button></TD>
</TR>
<TR>
<TD style="HEIGHT: 6px" colSpan="2">掛號號碼:
<asp:TextBox id="TextBox1" runat="server" Width="120px"></asp:TextBox>
<asp:Button id="Button3" runat="server" Text="查找"></asp:Button></TD>
</TR>
<TR>
<TD align="left" colSpan="2">
<asp:DataGrid id=DataGrid2 runat="server" Visible="False" Height="0" Width="368px" DataMember="Table" DataSource="<%# sda31 %>" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" BackColor="White" CellPadding="4" GridLines="Horizontal" DataKeyField="掛號號碼" AutoGenerateColumns="False" AllowPaging="True" ShowFooter="True" PageSize="5">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#339966"></SelectedItemStyle>
<ItemStyle ForeColor="#333333" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#336666"></HeaderStyle>
<FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="掛號號碼" SortExpression="掛號號碼" HeaderText="掛號號碼"></asp:BoundColumn>
<asp:BoundColumn DataField="床號" SortExpression="床號" HeaderText="床號"></asp:BoundColumn>
<asp:BoundColumn DataField="姓名" SortExpression="姓名" HeaderText="姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="年齡" SortExpression="年齡" HeaderText="年齡"></asp:BoundColumn>
<asp:BoundColumn DataField="進出實況" SortExpression="進出實況" HeaderText="進出實況"></asp:BoundColumn>
<asp:ButtonColumn Text="選擇" CommandName="Select"></asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
</asp:DataGrid></TD>
</TR>
</TABLE>
</FONT>
</asp:panel></FONT></TD>
</TR>
<tr>
<td align="center">
<asp:Image id="Image2" runat="server" Height="80px" Width="647px" ImageUrl="img/11.jpg"></asp:Image></td>
</tr>
<TR>
<TD style="HEIGHT: 6px" align="center" colSpan="2">
<asp:button id="Button5" runat="server" Text="返回主頁"></asp:button> <asp:button id="Button4" runat="server" Text="住院"></asp:button>
<asp:hyperlink id="HyperLink2" runat="server" ForeColor="IndianRed" Font-Bold="True" NavigateUrl="bedhos.aspx">新建床位</asp:hyperlink>
<asp:hyperlink id="HyperLink1" runat="server" Width="48px" ForeColor="IndianRed" Font-Bold="True"
NavigateUrl="bedzhao.aspx">查找</asp:hyperlink></TD>
</TR>
<tr>
<td><asp:datagrid id=DataGrid1 runat="server" DataMember="Table" DataSource="<%# zhu1 %>" BorderColor="#C0C000" BorderStyle="None" BorderWidth="3px" BackColor="#FFE0C0" CellPadding="4" GridLines="Horizontal" DataKeyField="床號" AutoGenerateColumns="False" AllowPaging="True" width="100%">
<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#339966"></SelectedItemStyle>
<ItemStyle ForeColor="#333333" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#336666"></HeaderStyle>
<FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
<Columns>
<asp:BoundColumn DataField="床號" SortExpression="床號" HeaderText="床號"></asp:BoundColumn>
<asp:BoundColumn DataField="棟號" SortExpression="棟號" HeaderText="棟號"></asp:BoundColumn>
<asp:BoundColumn DataField="進出實況" SortExpression="進出實況" HeaderText="進出實況"></asp:BoundColumn>
<asp:ButtonColumn Text="選擇" CommandName="Select"></asp:ButtonColumn>
</Columns>
<PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
</asp:datagrid></td>
</tr>
</TABLE>
</FONT>
</form>
</body>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -