如何在ASP里建立表格?

(编辑:jimmy 日期: 2024/11/13 浏览:2)

如何在ASP里建立表格?

<%

Dim conn

Set conn = Server.CreateObject("ADODB.Connection")

conn.Open "DSN=blah"

' 建立连接

 

Dim strSQL

strSQL = "CREATE TABLE test (name varchar(50), age int)"

conn.Execute strSQL

%>