Asp.net源码专业站
预留广告位
首页->商务办公->某市人口普查系统源码>>Code/SearchSat.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:某市人口普查系统源码
当前文件:文件类型 RenKouPuCha/Code/SearchSat.aspx[10K,2009-6-12 11:52:58]打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SearchSat.aspx.cs" Inherits="Code_Search" EnableEventValidation="false"%> 2 3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4 5<html xmlns="http://www.w3.org/1999/xhtml" > 6<head runat="server"> 7 <title>无标题页</title> 8</head> 9<body background="../image/bg1.jpg" scroll="auto" leftmargin=0 rightmargin=0> 10 <form id="form1" runat="server" target="_self"> 11 <div style="text-align: center"> 12 13 <asp:Menu ID="Menu1" runat="server" Height="34px" Orientation="Horizontal" Width="462px" OnMenuItemClick="Menu1_MenuItemClick" BackColor="LightGreen" Font-Bold=True Font-Names="Arial Black" Font-Size="X-Large" Font-Underline="True"> 14 <Items> 15 <asp:MenuItem Text="统计" Value="0"></asp:MenuItem> 16 <asp:MenuItem Text="查询" Value="1"></asp:MenuItem> 17 </Items> 18 </asp:Menu> 19 <asp:MultiView ID="MultiView1" runat="server" EnableTheming="True" ActiveViewIndex="0" > 20 <asp:View ID="View1" runat="server"> 21 <table width="100%" border="2"> 22 <caption align="top" style="font:caption; text-align: center;"> 23 <span style="font-size: 14pt; color: highlight">==<span style="font-size: 16pt">唐山人口普查统计</span>== 24 </span> 25 </caption> 26 <tr> 27 <td width="8%" align="center" style="height: 70px"><asp:Label ID="Label" Text="指 标" runat="server" ForeColor="Maroon" /></td> 28 <td width="25%" style="height: 70px"><asp:DropDownList ID="targetDropD" runat="server" Width="90%" AppendDataBoundItems="True" DataTextField="targetName" DataValueField="sqlStr"> 29 <asp:ListItem Value=" " Selected="True">总人口</asp:ListItem> 30 <asp:ListItem Value="sex='男'">男性总人口</asp:ListItem> 31 <asp:ListItem Value="sex='女'">女性总人口</asp:ListItem> 32 <asp:ListItem Value="age between 0 and 9">0-9岁人口</asp:ListItem> 33 <asp:ListItem Value="age between 10 and 19">10-19岁人口</asp:ListItem> 34 <asp:ListItem Value="age between 20 and 29">20-29岁人口</asp:ListItem> 35 <asp:ListItem Value="age between 30 and 39">30-39岁人口</asp:ListItem> 36 <asp:ListItem Value="age between 40 and 49">40-49岁人口</asp:ListItem> 37 <asp:ListItem Value="age between 50 and 59">50-59岁人口</asp:ListItem> 38 <asp:ListItem Value="age between 60 and 69">60-69岁人口</asp:ListItem> 39 <asp:ListItem Value="age between 70 and 79">70-79岁人口</asp:ListItem> 40 <asp:ListItem Value="age&gt;=80">80以上人口</asp:ListItem> 41 </asp:DropDownList> 42 &nbsp; 43 </td> 44 <td width="8%" align="center" style="height: 70px">县区</td> 45 <td width="18%" style="height: 70px"><asp:DropDownList ID="townDropD" runat="server" Width="80%" DataTextField="townName" DataValueField="townID" OnSelectedIndexChanged="townDropD_SelectedIndexChanged" AutoPostBack="True" AppendDataBoundItems="True"> 46 <asp:ListItem Value="1" Selected="True">唐山市</asp:ListItem> 47 <asp:ListItem Value="5">丰南区</asp:ListItem> 48 <asp:ListItem Value="6">迁安</asp:ListItem> 49 <asp:ListItem Value="7">昌黎</asp:ListItem> 50 <asp:ListItem Value="8">乐亭</asp:ListItem> 51 <asp:ListItem Value="9">宝坻</asp:ListItem> 52 <asp:ListItem Value="10">玉田</asp:ListItem> 53 <asp:ListItem Value="11">蓟县</asp:ListItem> 54 <asp:ListItem Value="12">遵化</asp:ListItem> 55 <asp:ListItem Value="13">滦县</asp:ListItem> 56 <asp:ListItem Value="14">丰润</asp:ListItem> 57 </asp:DropDownList> 58 </td> 59 <td width="8%" align="center" style="height: 70px">乡镇</td> 60 <td width="18%" style="height: 70px"><asp:DropDownList ID="areaDropD" runat="server" Width="80%"></asp:DropDownList> 61 </td> 62 <td width="22%" align="left" style="height: 70px"><asp:Button ID="submitButton" Text="提 交" runat="server" Font-Bold="True" Font-Size="12pt" ForeColor="Maroon" OnClick="submitButton_Click" /> 63 &nbsp; &nbsp; &nbsp; 64 <asp:Button ID="Button1" runat="server" Height="28px" Text="打印" Width="67px" Font-Bold="True" Font-Size="12pt" ForeColor="Maroon" OnClick="Button1_Click"/></td> 65 </tr> 66 <tr> 67 <td colspan="7" style="height: 80%; margin-left:0pxx; margin-right:0px"> 68 <asp:DataGrid ID="dg" runat="server" Width=1200px HeaderStyle-BackColor="yellow" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="X-Large" HeaderStyle-ForeColor="Black" HeaderStyle-HorizontalAlign="Center" 69 ItemStyle-HorizontalAlign="Left" AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None" > 70 <ItemStyle HorizontalAlign="Center" BackColor="#E3EAEB"/> 71 <HeaderStyle BackColor="#1C5E55" Font-Bold="True" Font-Size="X-Large" ForeColor="White" 72 HorizontalAlign="Center" /> 73 <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /> 74 <EditItemStyle BackColor="#7C6F57" /> 75 <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" /> 76 <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" /> 77 <AlternatingItemStyle BackColor="White" /> 78 </asp:DataGrid> 79 </td> 80 </tr> 81 </table> 82 <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="退出" /></asp:View> 83 &nbsp; 84 <asp:View ID="View3" runat="server"> 85 <br /> 86 <span style="font-size: 24pt; color: #663333">查询人口信息<br /> 87 </span> 88 <table style="width: 367px; height: 94px" border="2" bordercolor="#660000"> 89 <tr> 90 <td colspan="1" style="height: 30px; text-align: left"> 91 <asp:Label ID="Label2" runat="server" Text="查询方式" Width="106px" Height="30px"></asp:Label></td> 92 <td colspan="1" style="height:30px; text-align :justify"> 93 <asp:DropDownList ID="modeDropD" runat="server" Height="30px" Width="107px"> 94 <asp:ListItem Selected="True">精确查询</asp:ListItem> 95 <asp:ListItem>模糊查询</asp:ListItem> 96 </asp:DropDownList></td> 97 <td colspan="1" style="height:30px"> 98 <asp:Button ID="searchButton" runat="server" Height="30px" Text="查询" Width="51px" OnClick="searchButton_Click" /></td> 99 </tr> 100 <tr> 101 <td style="width: 104px; height: 30px;"> 102 姓名:</td> 103 <td colspan="2" style="height: 30px"> 104 <asp:TextBox ID="nameTextB" runat="server" Height="25px"></asp:TextBox></td> 105 </tr> 106 <tr> 107 <td style="width: 104px; height: 30px"> 108 年龄:</td> 109 <td style="height: px" colspan="2"> 110 <asp:TextBox ID="minageTextB" runat="server" Width=80px Height="25px"></asp:TextBox><span 111 style="font-size: 16pt">---</span><asp:TextBox ID="maxTextBox" runat="server" Width=80px Height="25px"></asp:TextBox></td> 112 </tr> 113 <tr> 114 <td style="width: 104px; height: 30px;"> 115 职业:</td> 116 <td style="height: 30px;" colspan="2"> 117 <asp:TextBox ID="professionTextB" runat="server" Height="25px" Width="153px"></asp:TextBox></td> 118 </tr> 119 <tr> 120 <td style="width: 104px; text-align: left; height: 30px;"> 121 最高学历:</td> 122 <td colspan="2" style="height: 30px"> 123 <asp:TextBox ID="edgLevelTextB" runat="server" Height="25px"></asp:TextBox></td> 124 </tr> 125 <tr> 126 <td style="width: 104px; height: 30px;"> 127 年收入:</td> 128 <td style="height: 30px;" colspan="2"> 129 <asp:TextBox ID="incomMinextB" runat="server" Width="80px" Height="25px"></asp:TextBox><span 130 style="font-size: 16pt">--</span><span style="font-size: 16pt">-</span><asp:TextBox ID="incomMaxTextB" runat="server" Width="80px" Height="25px"></asp:TextBox></td> 131 </tr> 132 <tr> 133 <td style="width: 104px; height: 30px;"> 134 国籍:</td> 135 <td colspan="2" style="height: 30px"> 136 <asp:TextBox ID="nationTextB" runat="server" Height="25px"></asp:TextBox></td> 137 </tr> 138 <tr> 139 <td style="width: 104px; height: 30px;"> 140 婚否:</td> 141 <td colspan="2" style="height: 30px"> 142 <asp:TextBox ID="marriageTextB" runat="server" Height="25px"></asp:TextBox></td> 143 </tr> 144 <tr> 145 <td style="width: 104px; height: 30px;"> 146 身份证号码:</td> 147 <td colspan="2" style="height: 30px"> 148 <asp:TextBox ID="idFieldTextB" runat="server" Height="25px"></asp:TextBox></td> 149 </tr> 150 </table> 151 <br /> 152 <asp:Button ID="Button3" runat="server" OnClick="Button3_Click1" Text="退出" /><br /> 153 </asp:View> 154 </asp:MultiView> 155 &nbsp; &nbsp;</div> 156 </form> 157</body> 158</html> 159
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:某市人口普查系统源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146