관리 메뉴

I LOVE EJ

asp mysql 한글깨짐 해결 본문

Web Development/APS

asp mysql 한글깨짐 해결

BeOne 2008. 10. 7. 09:36

DSN ="Driver={MySQL ODBC 3.51 driver};Server="& DBServerIP &";Database="&dbName&";Uid="& DBUserID &";Pwd="& DBUserPWD &";"

Set Conn = Server.CreateObject("ADODB.Connection")
Conn.open DSN
Conn.execute("set names euckr") 

sql="SELECT * from b "

set rs = server.createobject("ADODB.recordset")
rs.open sql,Conn,1