如何在ASP里建立表格?

698 查看

如何在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

%>