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

医药行业

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="guahao.aspx.cs" AutoEventWireup="false" Inherits="医院管理系统.wubi" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>wubi</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 face="宋体" id="FONT1">
  14. <TABLE id="Table3" width="544" height="0" align="center" cellSpacing="1" cellPadding="1"
  15. border="0">
  16. <TBODY>
  17. <TR>
  18. <TD>
  19. <TABLE id="Table1" width="598" cellSpacing="1" cellPadding="1" align="center" bgColor="#ffffff"
  20. border="1" style="WIDTH: 598px">
  21. <TR>
  22. <TD style="HEIGHT: 40px" align="center" colSpan="2">
  23. <asp:Image id="Image1" runat="server" Width="603px" Height="80px" ImageUrl="img/8.jpg"></asp:Image></TD>
  24. </TR>
  25. <TR>
  26. <TD style="WIDTH: 74px; HEIGHT: 21px" align="left">姓名:</TD>
  27. <TD style="HEIGHT: 21px">
  28. <asp:textbox id="tname" runat="server" Width="152px"></asp:textbox>
  29. <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="姓名不能为空" ControlToValidate="tname">*</asp:requiredfieldvalidator></TD>
  30. </TR>
  31. <TR>
  32. <TD style="WIDTH: 74px; HEIGHT: 18px" align="left">年龄:</TD>
  33. <TD style="HEIGHT: 18px">
  34. <asp:textbox id="tage" runat="server" Width="96px"></asp:textbox>
  35. <asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ErrorMessage="年龄不能为空" ControlToValidate="tage">*</asp:requiredfieldvalidator></TD>
  36. </TR>
  37. <TR>
  38. <TD style="WIDTH: 74px; HEIGHT: 36px" align="left">性别:</TD>
  39. <TD style="HEIGHT: 36px">
  40. <asp:radiobuttonlist id="r11" runat="server" RepeatDirection="Horizontal" Width="72px">
  41. <asp:ListItem Value="男">男</asp:ListItem>
  42. <asp:ListItem Value="女">女</asp:ListItem>
  43. </asp:radiobuttonlist>
  44. <asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="性别不能为空" ControlToValidate="r11">*</asp:requiredfieldvalidator></TD>
  45. </TR>
  46. <tr>
  47. <td style="WIDTH: 74px" align="left">类型:</td>
  48. <td>
  49. <asp:DropDownList id="DropDownList1" runat="server" Width="72px">
  50. <asp:ListItem Value="普通">普通</asp:ListItem>
  51. <asp:ListItem Value="专家">专家</asp:ListItem>
  52. <asp:ListItem Value="急诊">急诊</asp:ListItem>
  53. <asp:ListItem Value="专科">专科</asp:ListItem>
  54. </asp:DropDownList></td>
  55. </tr>
  56. <TR>
  57. <TD style="WIDTH: 74px; HEIGHT: 16px" align="left">
  58. 费用:</TD>
  59. <TD style="HEIGHT: 16px">
  60. <asp:radiobuttonlist id="r2" runat="server" Width="120px" RepeatDirection="Horizontal" Height="8px">
  61. <asp:ListItem Value="自费">自费</asp:ListItem>
  62. <asp:ListItem Value="公费">公费</asp:ListItem>
  63. </asp:radiobuttonlist>
  64. <asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" ErrorMessage="费用不能为空" ControlToValidate="r2">*</asp:requiredfieldvalidator></TD>
  65. </TR>
  66. <TR>
  67. <TD style="WIDTH: 74px; HEIGHT: 10px" align="left">
  68. 病历:</TD>
  69. <TD style="HEIGHT: 10px">
  70. <asp:radiobuttonlist id="r3" runat="server" Width="176px" RepeatDirection="Horizontal" Height="12px">
  71. <asp:ListItem Value="要病历">要病历</asp:ListItem>
  72. <asp:ListItem Value="不要病历">不要病历</asp:ListItem>
  73. </asp:radiobuttonlist>
  74. <asp:requiredfieldvalidator id="RequiredFieldValidator5" runat="server" ErrorMessage="病历不能为空" ControlToValidate="r3">*</asp:requiredfieldvalidator></TD>
  75. </TR>
  76. <TR>
  77. <TD style="WIDTH: 74px" align="left">地址:</TD>
  78. <TD>
  79. <asp:textbox id="tadd" runat="server" Width="280px"></asp:textbox>
  80. <asp:requiredfieldvalidator id="RequiredFieldValidator6" runat="server" ErrorMessage="地址不能为空" ControlToValidate="tadd">*</asp:requiredfieldvalidator></TD>
  81. </TR>
  82. <TR>
  83. <TD align="center" colSpan="2">
  84. <asp:button id="Button1" runat="server" Width="42px" Text="挂号"></asp:button>&nbsp;
  85. <asp:button id="Button3" runat="server" Width="59px" Text="获得号码"></asp:button>
  86. <asp:HyperLink id="HyperLink2" runat="server" NavigateUrl="index.aspx" Font-Bold="True" ForeColor="Black">返回主页</asp:HyperLink>&nbsp;
  87. <asp:HyperLink id="HyperLink1" runat="server" ForeColor="Black" Font-Bold="True" NavigateUrl="guahaocz.aspx">查找</asp:HyperLink></TD>
  88. </TR>
  89. <TR>
  90. <TD align="right" colSpan="2"><FONT color="#ff0033" size="2">备注:挂号在两天内有效。</FONT></TD>
  91. </TR>
  92. </TABLE>
  93. </TD>
  94. </TR>
  95. <tr>
  96. <td></td>
  97. </tr>
  98. <TR>
  99. <TD><FONT face="宋体"><FONT face="宋体">
  100. <asp:panel id="pl" Visible="False" Runat="server">
  101. <FONT face="宋体"><FONT face="宋体"><FONT face="宋体"><FONT face="宋体">
  102. <TABLE id="Table2" cellSpacing="1" cellPadding="1" align="center" bgColor="#ffffff" border="0">
  103. <TR>
  104. <TD>姓名:</TD>
  105. <TD>
  106. <asp:textbox id="tname1" runat="server" Width="120px"></asp:textbox></TD>
  107. </TR>
  108. <TR>
  109. <TD colSpan="2" height="0">
  110. <asp:DataGrid id=DataGrid1 runat="server" Height="0px" Width="604px" Visible="False" AutoGenerateColumns="False" DataMember="Table" DataKeyField="挂号号码" DataSource="<%# ds1 %>" GridLines="Horizontal" CellPadding="4" BackColor="White" BorderStyle="Double" BorderColor="#336666">
  111. <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#339966"></SelectedItemStyle>
  112. <ItemStyle ForeColor="#333333" BackColor="White"></ItemStyle>
  113. <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#336666"></HeaderStyle>
  114. <FooterStyle ForeColor="#333333" BackColor="White"></FooterStyle>
  115. <Columns>
  116. <asp:BoundColumn DataField="挂号号码" SortExpression="挂号号码" HeaderText="挂号号码"></asp:BoundColumn>
  117. <asp:BoundColumn DataField="姓名" SortExpression="姓名" HeaderText="姓名"></asp:BoundColumn>
  118. <asp:BoundColumn DataField="性别" SortExpression="性别" HeaderText="性别"></asp:BoundColumn>
  119. <asp:BoundColumn DataField="类型" SortExpression="类型" HeaderText="类型"></asp:BoundColumn>
  120. <asp:BoundColumn DataField="地址" SortExpression="地址" HeaderText="地址"></asp:BoundColumn>
  121. <asp:BoundColumn DataField="日期" SortExpression="日期" HeaderText="日期"></asp:BoundColumn>
  122. </Columns>
  123. <PagerStyle HorizontalAlign="Center" ForeColor="White" BackColor="#336666" Mode="NumericPages"></PagerStyle>
  124. </asp:DataGrid></TD>
  125. </TR>
  126. </TABLE>
  127. </FONT></FONT></FONT></FONT>
  128. </asp:panel></FONT></FONT></TD>
  129. </TR>
  130. </TBODY>
  131. </TABLE>
  132. <asp:validationsummary id="ValidationSummary1" style="Z-INDEX: 102; LEFT: 8px; POSITION: absolute; TOP: 8px"
  133. runat="server" ShowSummary="False" ShowMessageBox="True"></asp:validationsummary></FONT></form>
  134. </body>
  135. </HTML>