bedid.aspx
上传用户:clhb88
上传日期:2009-09-26
资源大小:3468k
文件大小:9k
源码类别:

医药行业

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="bedid.aspx.cs" AutoEventWireup="false" Inherits="医院管理系统.bedid" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>bedid</title>
  6. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. </HEAD>
  11. <body MS_POSITIONING="GridLayout">
  12. <form id="Form1" method="post" runat="server">
  13. <FONT id="FONT1" face="宋体">
  14. <asp:validationsummary id="ValidationSummary1" style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 80px"
  15. runat="server" ShowSummary="False" ShowMessageBox="True"></asp:validationsummary>
  16. <TABLE id="Table2" height="0" cellSpacing="1" cellPadding="1" width="70%" align="center"
  17. border="1">
  18. <TR>
  19. <TD align="center" colSpan="2" height="0"><FONT face="宋体"><asp:panel id="p1" Width="376px" Runat="server" Height="262px" Visible="False"><FONT face="宋体">
  20. <TABLE id="Table1" style="WIDTH: 355px; HEIGHT: 619px" cellSpacing="1" cellPadding="1"
  21. width="355" align="center" border="1">
  22. <TR>
  23. <TD align="center" colSpan="2">
  24. <asp:Image id="Image1" runat="server" Height="80px" Width="372px" ImageUrl="img/11.jpg"></asp:Image></TD>
  25. </TR>
  26. <TR>
  27. <TD style="WIDTH: 143px; HEIGHT: 4px">床号:</TD>
  28. <TD style="HEIGHT: 4px">
  29. <asp:TextBox id="tch" runat="server" Width="200px"></asp:TextBox>
  30. <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="tch" ErrorMessage="床号不能为空">*</asp:RequiredFieldValidator></TD>
  31. </TR>
  32. <TR>
  33. <TD style="WIDTH: 143px; HEIGHT: 4px">挂号号码:</TD>
  34. <TD style="HEIGHT: 4px">
  35. <asp:TextBox id="tnum" runat="server" Width="200px"></asp:TextBox>
  36. <asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="tnum" ErrorMessage="挂号号码不能为空">*</asp:RequiredFieldValidator></TD>
  37. </TR>
  38. <TR>
  39. <TD style="WIDTH: 143px">姓名:</TD>
  40. <TD>
  41. <asp:TextBox id="tname" runat="server" Width="200px"></asp:TextBox>
  42. <asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="tname" ErrorMessage="姓名不能为空">*</asp:RequiredFieldValidator></TD>
  43. </TR>
  44. <TR>
  45. <TD style="WIDTH: 143px; HEIGHT: 6px">年龄:</TD>
  46. <TD style="HEIGHT: 6px">
  47. <asp:TextBox id="tage" runat="server" Width="200px"></asp:TextBox>
  48. <asp:RequiredFieldValidator id="RequiredFieldValidator4" runat="server" ControlToValidate="tage" ErrorMessage="年龄不能为空">*</asp:RequiredFieldValidator></TD>
  49. </TR>
  50. <TR>
  51. <TD style="WIDTH: 143px; HEIGHT: 16px">性别:</TD>
  52. <TD style="HEIGHT: 16px">
  53. <asp:RadioButtonList id="r1" runat="server" Width="104px" RepeatDirection="Horizontal">
  54. <asp:ListItem Value="男">男</asp:ListItem>
  55. <asp:ListItem Value="女">女</asp:ListItem>
  56. </asp:RadioButtonList>
  57. <asp:RequiredFieldValidator id="RequiredFieldValidator5" runat="server" ControlToValidate="r1" ErrorMessage="性别你能为空">*</asp:RequiredFieldValidator></TD>
  58. </TR>
  59. <TR>
  60. <TD style="WIDTH: 143px; HEIGHT: 4px">级别:</TD>
  61. <TD style="HEIGHT: 4px">
  62. <asp:DropDownList id="d1" runat="server" Width="72px">
  63. <asp:ListItem Value="一般">一般</asp:ListItem>
  64. <asp:ListItem Value="中等">中等</asp:ListItem>
  65. <asp:ListItem Value="高级">高级</asp:ListItem>
  66. </asp:DropDownList></TD>
  67. </TR>
  68. <TR>
  69. <TD style="WIDTH: 143px; HEIGHT: 1px">负责人:</TD>
  70. <TD style="HEIGHT: 1px">
  71. <asp:DropDownList id=d2 runat="server" Width="88px" DataTextField="姓名" DataMember="Table" DataSource="<%# zhuyuan1 %>">
  72. </asp:DropDownList></TD>
  73. </TR>
  74. <TR>
  75. <TD style="WIDTH: 143px; HEIGHT: 4px">进出实况:</TD>
  76. <TD style="HEIGHT: 4px">
  77. <asp:DropDownList id="d3" runat="server" Width="72px">
  78. <asp:ListItem Value="进院">进院</asp:ListItem>
  79. <asp:ListItem Value="出院">出院</asp:ListItem>
  80. </asp:DropDownList></TD>
  81. </TR>
  82. <TR>
  83. <TD style="HEIGHT: 5px" align="center" bgColor="#f2eaee" colSpan="2">&nbsp;
  84. <asp:Button id="Button1" runat="server" Text="提交"></asp:Button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  85. <asp:Button id="Button2" runat="server" Text="出院"></asp:Button></TD>
  86. </TR>
  87. <TR>
  88. <TD style="HEIGHT: 6px" colSpan="2">挂号号码:
  89. <asp:TextBox id="TextBox1" runat="server" Width="120px"></asp:TextBox>
  90. <asp:Button id="Button3" runat="server" Text="查找"></asp:Button></TD>
  91. </TR>
  92. <TR>
  93. <TD align="left" colSpan="2">
  94. <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">
  95. <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#339966"></SelectedItemStyle>
  96. <ItemStyle ForeColor="#333333" BackColor="White"></ItemStyle>
  97. <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#336666"></HeaderStyle>
  98. <FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
  99. <Columns>
  100. <asp:BoundColumn DataField="挂号号码" SortExpression="挂号号码" HeaderText="挂号号码"></asp:BoundColumn>
  101. <asp:BoundColumn DataField="床号" SortExpression="床号" HeaderText="床号"></asp:BoundColumn>
  102. <asp:BoundColumn DataField="姓名" SortExpression="姓名" HeaderText="姓名"></asp:BoundColumn>
  103. <asp:BoundColumn DataField="年龄" SortExpression="年龄" HeaderText="年龄"></asp:BoundColumn>
  104. <asp:BoundColumn DataField="进出实况" SortExpression="进出实况" HeaderText="进出实况"></asp:BoundColumn>
  105. <asp:ButtonColumn Text="选择" CommandName="Select"></asp:ButtonColumn>
  106. </Columns>
  107. <PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
  108. </asp:DataGrid></TD>
  109. </TR>
  110. </TABLE>
  111. </FONT>
  112. </asp:panel></FONT></TD>
  113. </TR>
  114. <tr>
  115. <td align="center">
  116. <asp:Image id="Image2" runat="server" Height="80px" Width="647px" ImageUrl="img/11.jpg"></asp:Image></td>
  117. </tr>
  118. <TR>
  119. <TD style="HEIGHT: 6px" align="center" colSpan="2">
  120. <asp:button id="Button5" runat="server" Text="返回主页"></asp:button>&nbsp;<asp:button id="Button4" runat="server" Text="住院"></asp:button>&nbsp; 
  121. &nbsp;&nbsp;
  122. <asp:hyperlink id="HyperLink2" runat="server" ForeColor="IndianRed" Font-Bold="True" NavigateUrl="bedhos.aspx">新建床位</asp:hyperlink>&nbsp;&nbsp;&nbsp;
  123. <asp:hyperlink id="HyperLink1" runat="server" Width="48px" ForeColor="IndianRed" Font-Bold="True"
  124. NavigateUrl="bedzhao.aspx">查找</asp:hyperlink></TD>
  125. </TR>
  126. <tr>
  127. <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%">
  128. <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#339966"></SelectedItemStyle>
  129. <ItemStyle ForeColor="#333333" BackColor="White"></ItemStyle>
  130. <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#336666"></HeaderStyle>
  131. <FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
  132. <Columns>
  133. <asp:BoundColumn DataField="床号" SortExpression="床号" HeaderText="床号"></asp:BoundColumn>
  134. <asp:BoundColumn DataField="栋号" SortExpression="栋号" HeaderText="栋号"></asp:BoundColumn>
  135. <asp:BoundColumn DataField="进出实况" SortExpression="进出实况" HeaderText="进出实况"></asp:BoundColumn>
  136. <asp:ButtonColumn Text="选择" CommandName="Select"></asp:ButtonColumn>
  137. </Columns>
  138. <PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
  139. </asp:datagrid></td>
  140. </tr>
  141. </TABLE>
  142. </FONT>
  143. </form>
  144. </body>
  145. </HTML>