下载此文档

网页设计实验报告二.doc


文档分类:IT计算机 | 页数:约4页 举报非法文档有奖
1/4
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/4 下载此文档
文档列表 文档介绍
网页设计实验报告二.doc«WEB程序设计》课程实验报告
实验名称

实验序号
2
姓 名
江梦莹 系院专业
网络工程
班 级 2班
学 号
1210322215
实验日期
第五周周二1、2节
指导教师
马忠宝
成 绩
一、实验目的


二、实验内容与要求
课本62页第5题的第(8)小题,85页第5题的第(2)小题,两者任选其一,要求代码要有注 释。
三、 实验环境
地点:实训综合大楼A座4楼
设备:PC机VS2010
四、 实验步骤与结果
1 .添加TextBox, labeL dropdownlist, Button等控件,并且对其设置好相关的属性
客户端对象和事件 ▼
(无郭牛)
<t itleX/t itle>
</head>
<body>
<form id=*forml* runat=*server*>
<div>
<asp:Label ID="Label2" runat=wserver* Text姓名:"X/asp:Label>
<asp: Text Box ID=*TextBoxl* runat=* server* ></ asp: TextBoxXbr />
<asp:Label ID=*Label3* runat=*server* Text年龄:"X/asp:Label>
<asp: DropDownList ID=*DropDownList K rxmat=*f server*
onse 1 ect edindexchanged= **DropDownList l_Select edlndexChanged* >
</ asp: DropDownList >年
<asp:DropDownList ID=*DropDownList 2* runat=*server*
ons e 1 e ct e dindex chang e d= ** D r opD ownL ist 2_Select e dlndexChang ed* >
</ asp: DropDownList >月
<asp: DropDownList ID=WDropDownList3* runat=* server**>
</asp:DropDownList > H <br />
<asp:Button ID=rtrButtonl,* runat="server" Text="确定"onclick=^Buttonl^Click** /> <asp:Label ID=*labeloutputw runat=*server*></asp:Label>
</ div>
/t卡c
)0% …
3 | 口 回源 < <html> <body> <form#forml> <div> <asp:DropDownList#DropDow...>
进行css设计,对现在的年份进行处理,用现在的年份减去选择的年份,然后跟18进行比较,然 后输出相应的结果。
5namespace WebApplicat ion2
{
public partial class WebForml : Systea. Web

网页设计实验报告二 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数4
  • 收藏数0 收藏
  • 顶次数0
  • 上传人小雄
  • 文件大小87 KB
  • 时间2021-06-20