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

医药行业

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="bedzhao.aspx.cs" AutoEventWireup="false" Inherits="医院管理系统.bedzhao" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>bedzhao</title>
  6. <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
  7. <meta name="CODE_LANGUAGE" Content="C#">
  8. <meta name="vs_defaultClientScript" content="JavaScript">
  9. <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10. </HEAD>
  11. <body MS_POSITIONING="GridLayout">
  12. <form id="Form1" method="post" runat="server">
  13. <FONT face="宋体">
  14. <TABLE id="Table1" align="center" width="70%" height="0" cellSpacing="1" cellPadding="1"
  15. border="1">
  16. <TR>
  17. <TD align="center" style="HEIGHT: 27px">
  18. <asp:Image id="Image1" runat="server" Width="637px" Height="80px" ImageUrl="img/6.jpg"></asp:Image></TD>
  19. </TR>
  20. <TR>
  21. <TD align="center">
  22. 挂号号码:
  23. <asp:TextBox id="tnum" runat="server" Width="100px"></asp:TextBox>姓名:
  24. <asp:TextBox id="tname" runat="server" Width="91px"></asp:TextBox>进出实况:
  25. <asp:DropDownList id="d1" runat="server" Width="51px">
  26. <asp:ListItem Value="进院">进院</asp:ListItem>
  27. <asp:ListItem Value="出院">出院</asp:ListItem>
  28. </asp:DropDownList>
  29. <asp:Button id="button1" runat="server" Text="查找"></asp:Button>
  30. <asp:Button id="Button3" runat="server" Text="删除"></asp:Button>
  31. <asp:Button id="Button2" runat="server" Text="返回"></asp:Button></TD>
  32. </TR>
  33. <TR>
  34. <TD>
  35. <asp:DataGrid id="DataGrid1" Width ="100%" runat="server" BorderColor="White" BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="3" GridLines="Horizontal" DataSource="<%# allpepole1 %>" DataKeyField="床号" DataMember="Table" AutoGenerateColumns="False" PageSize="20" AllowPaging="True">
  36. <SelectedItemStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="#738A9C"></SelectedItemStyle>
  37. <AlternatingItemStyle BackColor="#F7F7F7"></AlternatingItemStyle>
  38. <ItemStyle ForeColor="Black" BackColor="AntiqueWhite"></ItemStyle>
  39. <HeaderStyle Font-Bold="True" ForeColor="#F7F7F7" BackColor="Teal"></HeaderStyle>
  40. <FooterStyle ForeColor="#4A3C8C" BackColor="#B5C7DE"></FooterStyle>
  41. <Columns>
  42. <asp:BoundColumn DataField="挂号号码" HeaderText="挂号号码"></asp:BoundColumn>
  43. <asp:BoundColumn DataField="床号" HeaderText="床号"></asp:BoundColumn>
  44. <asp:BoundColumn DataField="姓名" HeaderText="姓名"></asp:BoundColumn>
  45. <asp:BoundColumn DataField="性别" HeaderText="性别"></asp:BoundColumn>
  46. <asp:BoundColumn DataField="年龄" HeaderText="年龄"></asp:BoundColumn>
  47. <asp:BoundColumn DataField="级别" HeaderText="级别"></asp:BoundColumn>
  48. <asp:BoundColumn DataField="进出实况" SortExpression="进出实况" HeaderText="进出实况"></asp:BoundColumn>
  49. <asp:ButtonColumn Text="选择" HeaderText="删除操作" CommandName="Select"></asp:ButtonColumn>
  50. </Columns>
  51. <PagerStyle HorizontalAlign="Center" ForeColor="#4A3C8C" BackColor="MistyRose" Mode="NumericPages"></PagerStyle>
  52. </asp:DataGrid></TD>
  53. </TR>
  54. </TABLE>
  55. </FONT>
  56. </form>
  57. </body>
  58. </HTML>