温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:Asp.net简易留言板源码
当前文件:
WebReply/bookDB.sql[2K,2009-6-12 11:58:26],打开代码结构图
WebReply/bookDB.sql[2K,2009-6-12 11:58:26],打开代码结构图1use master 2
go 3
4
create database bookDB 5
go 6
7
use bookDB 8
go 9
10
create table guestInfo 11
( 12
ID int identity(1,1) primary key not null, 13
userName varchar(20) not null, 14
Sex varchar(4) not null, 15
QQ varchar(20), 16
Url varchar(40), 17
Email varchar(40), 18
Content varchar(300) not null, 19
Reply varchar(300), 20
imageAddress varchar(20) not null, 21
postTime datetime default(getdate()) 22
) 23
go 24
25
update guestInfo set imageAddress = 'boy.GIF'; 26
27
28
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥1','男','136598752','我喜欢美眉!!','boy.GIF') 29
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥2','男','773657393','我喜欢美眉!!','boy.GIF') 30
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥3','男','773657393','我喜欢美眉!!','boy.GIF') 31
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥4','男','773657393','我喜欢美眉!!','boy.GIF') 32
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥5','男','773657393','我喜欢美眉!!','boy.GIF') 33
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥6','男','773657393','我喜欢美眉!!','boy.GIF') 34
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥7','男','773657393','我喜欢美眉!!','boy.GIF') 35
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('帅哥8','男','773657393','我喜欢美眉!!','boy.GIF') 36
go 37
38
create table adminInfo 39
( 40
userid int identity(1,1) primary key not null, 41
userName varchar(20) not null, 42
userPwd varchar(20) not null, 43
userNum varchar(10) 44
) 45
go 46
--51aspx.com 47
insert into adminInfo(userName,userPwd,userNum) values('admin','admin','0') 48
insert into adminInfo(userName,userPwd,userNum) values('zhou','123','0') 49
insert into adminInfo(userName,userPwd,userNUm) values('shu','123','0') 50
go 51
52
53
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女1','女','136598752','我喜欢帅哥!!','girl.gif') 54
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女2','女','773657393','我喜欢帅哥!!','girl.gif') 55
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女3','女','773657393','我喜欢帅哥!!','girl.gif') 56
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女4','女','773657393','我喜欢帅哥!!','girl.gif') 57
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女5','女','773657393','我喜欢帅哥!!','girl.gif') 58
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女6','女','773657393','我喜欢帅哥!!','girl.gif') 59
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女7','女','773657393','我喜欢帅哥!!','girl.gif') 60
insert into guestInfo(userName,Sex,QQ,Content,ImageAddress) values('美女8','女','773657393','我喜欢帅哥!!','girl.gif') 61
go 62
63
--delete from guestInfo where userName = '美女1'; 64
select * from guestInfo 65
select * from adminInfo 66
go 67
--select userNum from adminInfo 68



