asp,Set conn = Server.CreateObject("ADODB.Connection"),conn.Open "DSN=your_dsn;UID=your_uid;PWD=your_pwd;",conn.Execute "SET NAMES 'utf8' COLLATE 'utf8_general_ci';",
``asp,Set conn = Server.CreateObject("ADODB.Connection"),conn.Open "DSN=your_dsn;UID=your_uid;PWD=your_pwd;",conn.Execute "SET NAMES 'utf8' COLLATE 'utf8_general_ci';",
``On Error Resume Next
来忽略错误。MoveFirst
、MoveLast
、MoveNext
和MovePrevious
方法来遍历结果集中的记录。Server.MapPath
方法来指定时间。这个方法将虚拟路径映射到服务器上的物理路径,从而可以获取文件或目录的绝对路径。Server.MapPath("~/")
可以获取应用程序的根目录。Server.ScriptTimeout
属性来实现,Server.ScriptTimeout = 60
。Powered By Z-BlogPHP 1.7.3