select_weather.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:4k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="select_weather.aspx.cs" Inherits="web_select_weather" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.     <center>
  11. <h2>
  12. <span style="color:Blue">天气定制与查询</span>
  13. </h2></center>
  14. <span> 选择省份</span>
  15.         <asp:DropDownList ID="DropDownList1" runat="server" Width="104px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
  16.         <asp:ListItem>北京</asp:ListItem>
  17.         <asp:ListItem>天津</asp:ListItem>
  18.         <asp:ListItem>重庆</asp:ListItem>
  19.         <asp:ListItem>上海</asp:ListItem>
  20.         <asp:ListItem>江苏省</asp:ListItem>
  21.         <asp:ListItem>浙江省</asp:ListItem>
  22.         <asp:ListItem>广东省</asp:ListItem>
  23.         <asp:ListItem>台湾省</asp:ListItem>
  24.         </asp:DropDownList><span>选择城市</span><asp:DropDownList ID="DropDownList2" runat="server" Width="104px" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" AutoPostBack="True">
  25.         </asp:DropDownList>
  26.         <asp:Button ID="Button1" runat="server" Text="定制" OnClick="Button1_Click" />&nbsp;<br />
  27.         <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
  28.             <asp:View ID="View1" runat="server">
  29.                 <table style="width: 532px" rules="all">
  30.                     <tr>
  31.                         <td colspan="2" style="background-color: gainsboro">
  32.                             <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label></td>
  33.                     </tr>
  34.                     <tr>
  35.                         <td style="width: 135px">
  36.                             天气</td>
  37.                         <td>
  38.                             <asp:Label ID="Label1" runat="server" Text="Label" Width="271px"></asp:Label></td>
  39.                     </tr>
  40.                     <tr>
  41.                         <td style="width: 135px">
  42.                             温度</td>
  43.                         <td>
  44.                             <asp:Label ID="Label2" runat="server" Text="Label" Width="272px"></asp:Label></td>
  45.                     </tr>
  46.                 </table>
  47.                 <table style="width: 532px" rules="all">
  48.                     <tr>
  49.                         <td colspan="2" style="background-color: gainsboro">
  50.                             &nbsp;<asp:Label ID="Label9" runat="server" Text="Label"></asp:Label></td>
  51.                     </tr>
  52.                     <tr>
  53.                         <td style="width: 135px">
  54.                             天气</td>
  55.                         <td>
  56.                             <asp:Label ID="Label3" runat="server" Text="Label" Width="271px"></asp:Label></td>
  57.                     </tr>
  58.                     <tr>
  59.                         <td style="width: 135px">
  60.                             温度</td>
  61.                         <td>
  62.                             <asp:Label ID="Label4" runat="server" Text="Label" Width="269px"></asp:Label></td>
  63.                     </tr>
  64.                 </table>
  65.                 <table style="width: 532px" rules="all">
  66.                     <tr>
  67.                         <td colspan="2" style="background-color: gainsboro">
  68.                             &nbsp;<asp:Label ID="Label7" runat="server" Text="Label"></asp:Label></td>
  69.                     </tr>
  70.                     <tr>
  71.                         <td style="width: 135px; height: 21px">
  72.                             天气</td>
  73.                         <td style="height: 21px">
  74.                             <asp:Label ID="Label5" runat="server" Text="Label" Width="267px"></asp:Label></td>
  75.                     </tr>
  76.                     <tr>
  77.                         <td style="width: 135px">
  78.                             温度</td>
  79.                         <td>
  80.                             <asp:Label ID="Label6" runat="server" Text="Label" Width="270px"></asp:Label></td>
  81.                     </tr>
  82.                 </table>
  83.             </asp:View>
  84.         </asp:MultiView></div>
  85.     </form>
  86. </body>
  87. </html>