⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 update15.asp

📁 可以做论坛
💻 ASP
字号:
<!--#include file="sysinfo.asp"-->
<!--#include file="conn.asp"-->
<%
if sver<>"v1.3" then
response.write"错误,版本不对,原因分析:<br>1、第一次使用不须升级。<br>2、有可能您的数据库已经升级,因为此程序一打开若没有错误就已升级完成,重新刷新就出现此错误。<br>3、此升级程序是v1.3升级至v1.5。如果您的数据库是更低版本,请先下载相关版本升级至v1.3,再升级至v1.5。" 
else
if sver="v1.5" then
response.write"你要升级的数据库已是v1.5。" 
else
strSQL = "CREATE TABLE asptbbz(id Counter,"&_
              "idy int NULL,"&_
              "idl int NULL,"&_
              "yue int NULL,"&_
              "yn  int NULL,"&_
              "bzday date NULL,"&_
              "liyou text NULL)"
conn.Execute strSQL 
stSQL = "CREATE TABLE _notownload(notownload Image NULL)"
conn.Execute stSQL 
newver="v1.5"
conn.Execute("update system set ver='"&newver&"'")
response.write"恭喜您:数据库asptb v1.3升级到asptb v1.5成功。欢迎您使用!"
end if
end if
%> 


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -