database_drop.aspx
来自「在线SQL数据库企业管理器在线SQL数据库企业管理器」· ASPX 代码 · 共 51 行
ASPX
51 行
<%
Dim dbToDrop as String = Session("CatalogName")
session("CatalogName") = "master"
%>
<!--#include file="includes/topnav.aspx"-->
<%
try
d.execute("DROP DATABASE " & DBtoDrop)
d = nothing
dr = nothing
%>
<script language="Javascript">
parent.frames["LeftFrame"].location.href='databases.aspx';
parent.frames["MainFrame"].location.href='tables_list.aspx';
</script>
<%
catch e As System.Exception
With Response
.write ("<table width=""100%"" height=""70%"">")
.write ("<tr><td align=""Center"" valign=""Middle"">")
DisplayError (e)
.write ("</td></tr>")
.write ("</table>")
d = nothing
dr = nothing
End With
end try
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?