网站程序设计论文.docx

上传人:b****0 文档编号:9661846 上传时间:2023-05-20 格式:DOCX 页数:13 大小:480.78KB
下载 相关 举报
网站程序设计论文.docx_第1页
第1页 / 共13页
网站程序设计论文.docx_第2页
第2页 / 共13页
网站程序设计论文.docx_第3页
第3页 / 共13页
网站程序设计论文.docx_第4页
第4页 / 共13页
网站程序设计论文.docx_第5页
第5页 / 共13页
网站程序设计论文.docx_第6页
第6页 / 共13页
网站程序设计论文.docx_第7页
第7页 / 共13页
网站程序设计论文.docx_第8页
第8页 / 共13页
网站程序设计论文.docx_第9页
第9页 / 共13页
网站程序设计论文.docx_第10页
第10页 / 共13页
网站程序设计论文.docx_第11页
第11页 / 共13页
网站程序设计论文.docx_第12页
第12页 / 共13页
网站程序设计论文.docx_第13页
第13页 / 共13页
亲,该文档总共13页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

网站程序设计论文.docx

《网站程序设计论文.docx》由会员分享,可在线阅读,更多相关《网站程序设计论文.docx(13页珍藏版)》请在冰点文库上搜索。

网站程序设计论文.docx

网站程序设计论文

 

个人网站程序设计

班级:

网络081

学号:

200700824127

姓名:

张强杰

个人网站程序设计

1.建立Studio.Net下Web工程:

使用自己的学号班级号作为工程名予以区分,并且截图证明确实是自己做的项目。

截图如下:

 

网站登入界面机代码如下:

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default.aspx.cs"Inherits="_Default"%>

DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http:

//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

//www.w3.org/1999/xhtml">

无标题页

LabelID="Label1"runat="server"Style="font-size:

xx-large;color:

red;border-top-style:

none;

border-right-style:

none;border-left-style:

none;border-bottom-style:

none"

Text="欢迎进入张强杰的个人网站!

">

Label> 



ButtonID="Button1"runat="server"Style="position:

static"Text="转到下一个页面"OnClick="Button1_Click"/>

其中,界面中“转到下一个页面”这个按钮的代码为:

protectedvoidButton1_Click(objectsender,EventArgse)

{

Response.Redirect("~/Default2.aspx");

个人信息数据库的界面代码如下:

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default2.aspx.cs"Inherits="Default2"%>

DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http:

//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

//www.w3.org/1999/xhtml">

无标题页

x-large;color:

blue;position:

static"align="center">

张强杰的个人网站

个人信息数据库:



GridViewID="GridView1"runat="server"AutoGenerateColumns="False"DataSourceID="SqlDataSource1"

Width="821px">

BoundFieldDataField="ID"HeaderText="ID"SortExpression="ID"/>

BoundFieldDataField="NAME"HeaderText="NAME"SortExpression="NAME"/>

BoundFieldDataField="SEX"HeaderText="SEX"SortExpression="SEX"/>

BoundFieldDataField="CLASS"HeaderText="CLASS"SortExpression="CLASS"/>

GridView>

SqlDataSourceID="SqlDataSource1"runat="server"ConnectionString="<%$ConnectionStrings:

studentsConnectionString%>"

SelectCommand="SELECT*FROM[student]">

SqlDataSource>



HyperLinkID="HyperLink1"runat="server"NavigateUrl="~/Default3.aspx">个人资料信息

HyperLink>



 

本人的详细信息介绍的界面和代码如下所示:

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default3.aspx.cs"Inherits="Default3"%>

DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http:

//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

//www.w3.org/1999/xhtml">

无标题页

LabelID="Label1"runat="server"Text="本人详细信息">

Label>




543px">

129px;height:

32px">

姓名:

192px;height:

32px">

 张强杰

129px;height:

32px">

性别:

192px;height:

32px">

 男

129px;height:

32px">

年龄:

192px;height:

32px">

24

129px;height:

32px">

学号:

192px;height:

32px">

 200700824127

129px;height:

32px">

班级:

192px;height:

32px">

 网络081

129px;height:

32px">

出生年月:

192px;height:

32px">

 1987年10月1号

129px;height:

32px">

入学时间:

192px;height:

32px">

  

2007年9月

129px;height:

32px">

所在院校:

192px;height:

32px">

 中原工学院

129px;height:

32px">

照片:

192px;height:

32px">

 

ImageID="Image1"runat="server"Height="106px"ImageUrl="~/images/http_imgload[2].jpg"Width="103px"/>

  


  


HyperLinkID="HyperLink1"runat="server"NavigateUrl="~/Default4.aspx">个人资料注册

HyperLink>

个人信息的输入界面及其代码如下:

<%@PageLanguage="C#"AutoEventWireup="true"CodeFile="Default4.aspx.cs"Inherits="Default4"%>

DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http:

//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

//www.w3.org/1999/xhtml">

无标题页


LabelID="Label1"runat="server"Text="个人信息录入">

Label>



ListBoxID="ListBox1"runat="server"Height="97px"Width="316px">

ListBox>



          

LabelID="Label2"

runat="server"Text="姓名:

">

Label>

TextBoxID="TextBox1"runat="server">

TextBox>


         

LabelID="Label5"runat="server"Text="学号:

">

Label>

TextBoxID="TextBox2"runat="server">

TextBox>


         

LabelID="Label4"runat="server"Text="年龄:

">

Label>

TextBoxID="TextBox3"runat="server">

TextBox>


         

LabelID="Label3"runat="server"Text="性别:

">

Label>

RadioButtonID="RadioButton1"runat="server"Text="男"/>

     

RadioButtonID="RadioButton2"runat="server"

Text="女"/>


         

LabelID="Label6"runat="server"Text="专业:

">

Label>

DropDownListID="DropDownList1"runat="server"Width="107px">

ListItem>网络

ListItem>

ListItem>软件

ListItem>

ListItem>计科

ListItem>

DropDownList>


         

LabelID="Label7"runat="server"Text="班级:

">

Label>

DropDownListID="DropDownList2"runat="server"Width="107px">

ListItem>081

ListItem>

ListItem>082

ListItem>

ListItem>083

ListItem>

DropDownList> 



ButtonID="Button1"runat="server"OnClick="Button1_Click"Text="确定"/>

通过这个网站的制作,使我感到的实用以及简单易学。

A是基于通用语言的编译运行的程序,它能在Web应用软件开发者的几乎全部的平台上运行,非常适合我们。

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2