?? update.asp
字號:
<!--#include file="conn.asp"-->
<%
conn.execute("alter table config add locked bit")
conn.execute("alter table config add gonggao text")
conn.execute("alter table config add todaydate datetime")
conn.execute("alter table config add todaytimes int")
conn.execute("alter table config add times int")
conn.execute("update config set locked=false,todaydate=2003/5/1,todaytimes=0,times=0 where true")
conn.execute("alter table main add title char(50)")
conn.execute("alter table main add type char(10)")
conn.execute("update main set title='無',type='課件' where true")
conn.execute("alter table teacher add email char(30)")
conn.execute("alter table teacher add address char(50)")
conn.execute("alter table teacher add photourl char(50)")
conn.execute("alter table teacher add homepage char(50)")
conn.execute("alter table teacher add qq char(10)")
conn.execute("alter table teacher add intro text")
conn.execute("create table type (id int IDENTITY (1, 1) NOT NULL PRIMARY KEY,type char(10))")
conn.execute("insert into type (type) values('課件')")
conn.execute("drop table fenlei1")
conn.execute("drop table fenlei2")
conn.close
set conn = nothing
%>
<script language="javascript">
alert('升級成功,請立即刪除本升級文件');
location.replace('index.asp');
</script>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -