📄 default.aspx
字号:
<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false" Inherits="weatherf.Weather" %>
<HTML>
<HEAD>
<TITLE>昕友软件----软件开发/策划、 网站Web程序开发</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="index05.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2600.0" name="GENERATOR">
</HEAD>
<BODY text="#000000" vLink="#0080c0" aLink="#0080c0" link="#0080c0" bgColor="#ffffff"
leftMargin="0" background="images/bg.gif" topMargin="0" marginheight="0" marginwidth="0">
<TABLE cellSpacing="0" cellPadding="0" width="710" bgColor="#ffffff" border="0" align="center">
<TBODY>
<TR>
<TD width="708"><IMG src="images/top_header.gif"></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="710" bgColor="#ffffff" background="" border="0"
align="center">
<TBODY>
<TR>
<TD width="15" height="371"></TD>
<TD vAlign="top" width="610">
<P align="left">
演示---昕友 WEB 图章生成系统 数据库相关系统示例(天气预报实时显示系统)</FONT>
<p><br>
<asp:Label id="Label6" runat="server" ForeColor="#FF8080" Font-Bold="True">如果要添加数据,请先在下面地图上点击,可自动确定城市的位置</asp:Label>,然后输入城市名,温度和天气情况,点击“添加“则可添加一个城市的天气情况,点击“察看最新天气预报”则可看到您添加的效果。
<!--内容区-->
<form id="Weather" method="post" runat="server">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><FONT face="宋体"><asp:Panel id="Panel1" runat="server" Width="724px" Height="62px">
<P>
<asp:Label id="Label1" runat="server">城市</asp:Label>
<asp:TextBox id="TextBox1" runat="server" Width="63px"></asp:TextBox>
<asp:Label id="Label3" runat="server">X坐标</asp:Label>
<asp:TextBox id="TextBox2" runat="server" Width="31px" ReadOnly="True"></asp:TextBox>
<asp:Label id="Label4" runat="server">Y坐标</asp:Label>
<asp:TextBox id="TextBox3" runat="server" Width="32px" ReadOnly="True"></asp:TextBox>
<asp:Label id="Label2" runat="server">温度</asp:Label>
<asp:TextBox id="TextBox4" runat="server" Width="36px"></asp:TextBox>
<asp:Label id="Label5" runat="server">天气情况</asp:Label>
<asp:DropDownList id="DropDownList1" runat="server">
<asp:ListItem Value="sun">晴</asp:ListItem>
<asp:ListItem Value="cloudy">多云</asp:ListItem>
<asp:ListItem Value="rain">有雨</asp:ListItem>
</asp:DropDownList>
<asp:Button id="Button2" runat="server" Text="添加"></asp:Button>
<asp:Button id="Button3" runat="server" Width="109px" Text="察看最新天气预报"></asp:Button></P>
<P>
<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="p_weather.gif"></asp:ImageButton></P>
</asp:Panel></FONT>
</td>
</tr>
<tr>
<td>
<asp:datagrid id="DGp" runat="server" Width="100%" PageSize="15" DataKeyField="id" BorderColor="#3366CC"
BorderStyle="None" BorderWidth="1px" BackColor="White" CellPadding="4" AutoGenerateColumns="False"
AllowPaging="True">
<FooterStyle HorizontalAlign="Right" ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
<ItemStyle ForeColor="#003399" BackColor="White"></ItemStyle>
<HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" CssClass="昕友Orgtitle1" BackColor="#003399"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="id" HeaderText="ID"></asp:BoundColumn>
<asp:BoundColumn DataField="city" HeaderText="城市"></asp:BoundColumn>
<asp:BoundColumn DataField="X" HeaderText="X坐标"></asp:BoundColumn>
<asp:BoundColumn DataField="Y" HeaderText="Y坐标"></asp:BoundColumn>
<asp:BoundColumn DataField="tempe" HeaderText="温度"></asp:BoundColumn>
<asp:BoundColumn DataField="info" HeaderText="天气"></asp:BoundColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC" CssClass="昕友OrgTitle1"
Mode="NumericPages"></PagerStyle>
</asp:datagrid>
</td>
</tr>
<tr>
<td><FONT face="宋体">
<P align="right"><br>
</P>
</FONT>
</td>
</tr>
</table>
</form>
</p>
</TD>
<TD vAlign="top" width="85" height="371">
<DIV align="center"><BR>
</DIV>
<DIV align="center"></DIV>
</TD>
</TR>
<TR>
<TD colspan="3">
<P align="center">
<a href="http://Starcrm.cn" target="_blank"><B>StarCRM主题站</B></a> | <a href="http://StarSuit.cn" target="_blank">
<B>StarSuit主题站</B></a> | <a href="http://CrmWin.com" target="_blank">
<B>网通镜像</B></a> | <a href="http://dosale.net" target="_blank"><B>备用站点</B></a>
<A HREF="http://Crmwin.com"><B>昕友软件
制作 Crmwin.com</B></A></P>
</TD>
</TR>
</TBODY></TABLE>
<DIV align="center">
<DIV align="left">
<TABLE align="center" cellSpacing="0" cellPadding="0" width="709" bgColor="#ffffff" border="0">
<TBODY>
<TR>
<TD></TD>
</TR>
</TBODY></TABLE>
</DIV>
</DIV>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -