网站设计代码Word文档格式.docx

上传人:b****6 文档编号:19838215 上传时间:2023-01-10 格式:DOCX 页数:24 大小:23.26KB
下载 相关 举报
网站设计代码Word文档格式.docx_第1页
第1页 / 共24页
网站设计代码Word文档格式.docx_第2页
第2页 / 共24页
网站设计代码Word文档格式.docx_第3页
第3页 / 共24页
网站设计代码Word文档格式.docx_第4页
第4页 / 共24页
网站设计代码Word文档格式.docx_第5页
第5页 / 共24页
点击查看更多>>
下载资源
资源描述

网站设计代码Word文档格式.docx

《网站设计代码Word文档格式.docx》由会员分享,可在线阅读,更多相关《网站设计代码Word文档格式.docx(24页珍藏版)》请在冰豆网上搜索。

网站设计代码Word文档格式.docx

欢迎光临[可爱屋]<

/title>

metaname="

keywords"

商城,首饰,珠宝,饰品,金,银,钻石,玉,珍珠,钟表"

description"

流行首饰专卖,各种珠宝、钟表、饰品等。

"

linkhref="

style/basic.css"

rel="

stylesheet"

type="

text/css"

style/link.css"

media="

screen"

style/main.css"

/head>

body>

formid="

form1"

divid="

box"

logo"

objectdata="

media/logo.swf"

application/x-shockwave-flash"

width="

766"

height="

148"

paramname="

movie"

value="

SCALE"

exactfit"

quality"

high"

wmode"

transparent"

/object>

/div>

--#logo-->

nav"

ul>

li>

ahref="

#"

span>

首页<

/span>

/a>

/li>

金饰<

钻石<

925银饰<

流行饰品<

珍珠<

品牌专卖<

订制<

spanclass="

last"

优惠券<

/ul>

--#nav-->

link"

login"

fieldset>

<

legend>

用户登陆<

/legend>

labelfor="

f_login_name"

用户名:

/label>

inputtype="

text"

name="

tabindex="

1"

id="

f_login_pass"

密 码:

password"

2"

inputname="

f_login_ok"

submit"

class="

btn"

3"

确定"

f_login_reset"

reset"

4"

重填"

/fieldset>

免费注册<

忘记密码<

--#login-->

sort"

h1id="

sort_h_1"

按珠宝用途分类<

/h1>

耳饰Earrings<

项链Necklaces<

手镯Bracelets<

戒指Fingerring<

胸饰Brooches<

头饰Headwear<

摆件Ornament<

钟表Horologe<

其他Other<

sort_h_2"

按珠宝性质分类<

钻石Diamond<

翡翠Emerald<

白玉Jade<

珊瑚Coral<

水晶Crystal<

珍珠Pearl<

红宝石Ruby<

蓝宝石Sapphire<

贝壳Conch<

黄金Gold<

--#sort-->

ad_2"

imgsrc="

photo/ad_2_temp1.gif"

title="

广告位招租"

alt="

广告"

150"

50"

--#ad_2-->

--#link-->

main"

ad_1"

photo/ad_1_temp1.jpg"

点击欣赏[超可爱精巧花戒]"

主广告"

293"

175"

border="

0"

photo/ad_1_temp2.jpg"

点击欣赏[古埃及珍宝展]"

--#ad_1-->

recommend"

h1>

本周推荐<

ol>

dl>

dt>

photo/recom_01.jpg"

商品图片"

/dt>

ddclass="

titlerecom_titlerecom"

紫水晶吊坠<

/dd>

memorecom"

紫色,充满诱惑,美丽的小花在美丽的颈边悄悄绽放。

谁会忍心说不?

pricerecom"

原 价:

¥元<

net_pricerecom"

折扣价:

select"

<

liclass="

btnbuy"

点击购买此商品"

购买<

<

btnfavorite"

点击将商品加入收藏夹"

收藏<

/dl>

photo/recom_02.jpg"

紫水晶吊坠<

折扣价:

/ol>

--#recommend-->

new"

新品上架<

photo/new_01.jpg"

title"

price"

net_price"

selectnew_btn"

photo/new_02.jpg"

dd>

photo/new_03.jpg"

photo/new_04.jpg"

photo/new_05.jpg"

photo/new_06.jpg"

--#new-->

rank"

热销排行榜<

%=x%>

pclass="

rank_more"

rank_more.aspx"

点击查看更多排行榜"

更多&

gt;

&

/p>

--#rank-->

info"

优惠活动<

%=y%>

info_more"

info_more.aspx"

点击查看更多优惠信息"

--#info-->

--#main-->

footer"

可爱屋<

--#footer-->

/form>

/body>

/html>

 

Index.aspx.cs:

usingSystem;

usingSystem.Collections;

usingSystem.Configuration;

usingSystem.Data;

usingSystem.Linq;

usingSystem.Web;

usingSystem.Web.Security;

usingSystem.Web.UI;

usingSystem.Web.UI.HtmlControls;

usingSystem.Web.UI.WebControls;

usingSystem.Web.UI.WebControls.WebParts;

usingSystem.Xml.Linq;

usingSystem.Data.SqlClient;

publicpartialclassIndex:

System.Web.UI.Page

{

publicStringx,y;

protectedvoidPage_Load(objectsender,EventArgse)

{

SqlConnectionconn=newSqlConnection();

SqlConnectionconn1=newSqlConnection();

conn.ConnectionString=ConfigurationManager.ConnectionStrings["

].ConnectionString;

conn1.ConnectionString=ConfigurationManager.ConnectionStrings["

SqlCommandcmd=newSqlCommand();

SqlCommandcmd1=newSqlCommand();

cmd.Connection=conn;

cmd.CommandText="

selecttop10*fromGOODSorderbysold_countdesc"

;

cmd.CommandType=CommandType.Text;

cmd1.Connection=conn1;

cmd1.CommandText="

selecttop6*fromYHHDorderbypubdatedesc"

cmd1.CommandType=CommandType.Text;

SqlDataReaderdr,dr1;

try

conn.Open();

dr=cmd.ExecuteReader();

while(dr.Read())

x+="

ahref='

rank.aspx?

id="

+dr.GetValue(0).ToString()+"

'

+dr.GetValue

(1).ToString()+"

}

dr.Close();

conn1.Open();

dr1=cmd1.ExecuteReader();

while(dr1.Read())

y+="

info.aspx?

+dr1.GetValue(0).ToString()+"

+dr1.GetValue

(1).ToString()+"

dr1.Close();

finally

conn.Close();

conn1.Close();

}

Info.aspx

info.aspx.cs"

headrunat="

无标题页<

wmode

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

当前位置:首页 > 幼儿教育 > 幼儿读物

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1