asp

 


 

ODBC

 

<%
//~ coding: utf-8

 set conn = Server.CreateObject("ADODB.Connection")
 conn.ConnectionString = "DSN=MySQL"
 conn.Open

 set conn_module = Server.CreateObject("ADODB.Connection")
 conn_module.ConnectionString = "DSN=MySQL"
 conn_module.Open


 conn.execute "SET CHARACTER SET big5"
 conn_module.execute "SET CHARACTER SET big5"

'conn.close
%>

使用者資料來源名稱

系統資料來源名稱

 

Creative Commons license icon Creative Commons license icon