select_weather.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:4k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="select_weather.aspx.cs" Inherits="web_select_weather" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <center>
- <h2>
- <span style="color:Blue">天气定制与查询</span>
- </h2></center>
- <span> 选择省份</span>
- <asp:DropDownList ID="DropDownList1" runat="server" Width="104px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
- <asp:ListItem>北京</asp:ListItem>
- <asp:ListItem>天津</asp:ListItem>
- <asp:ListItem>重庆</asp:ListItem>
- <asp:ListItem>上海</asp:ListItem>
- <asp:ListItem>江苏省</asp:ListItem>
- <asp:ListItem>浙江省</asp:ListItem>
- <asp:ListItem>广东省</asp:ListItem>
- <asp:ListItem>台湾省</asp:ListItem>
- </asp:DropDownList><span>选择城市</span><asp:DropDownList ID="DropDownList2" runat="server" Width="104px" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged" AutoPostBack="True">
- </asp:DropDownList>
- <asp:Button ID="Button1" runat="server" Text="定制" OnClick="Button1_Click" /> <br />
- <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
- <asp:View ID="View1" runat="server">
- <table style="width: 532px" rules="all">
- <tr>
- <td colspan="2" style="background-color: gainsboro">
- <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 135px">
- 天气</td>
- <td>
- <asp:Label ID="Label1" runat="server" Text="Label" Width="271px"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 135px">
- 温度</td>
- <td>
- <asp:Label ID="Label2" runat="server" Text="Label" Width="272px"></asp:Label></td>
- </tr>
- </table>
- <table style="width: 532px" rules="all">
- <tr>
- <td colspan="2" style="background-color: gainsboro">
- <asp:Label ID="Label9" runat="server" Text="Label"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 135px">
- 天气</td>
- <td>
- <asp:Label ID="Label3" runat="server" Text="Label" Width="271px"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 135px">
- 温度</td>
- <td>
- <asp:Label ID="Label4" runat="server" Text="Label" Width="269px"></asp:Label></td>
- </tr>
- </table>
- <table style="width: 532px" rules="all">
- <tr>
- <td colspan="2" style="background-color: gainsboro">
- <asp:Label ID="Label7" runat="server" Text="Label"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 135px; height: 21px">
- 天气</td>
- <td style="height: 21px">
- <asp:Label ID="Label5" runat="server" Text="Label" Width="267px"></asp:Label></td>
- </tr>
- <tr>
- <td style="width: 135px">
- 温度</td>
- <td>
- <asp:Label ID="Label6" runat="server" Text="Label" Width="270px"></asp:Label></td>
- </tr>
- </table>
- </asp:View>
- </asp:MultiView></div>
- </form>
- </body>
- </html>