method:Open ( ConnectionString, UserID, Password, OpenOptions )
return type:void
content:ใช้ในการติดต่อกับฐานข้อมูล
example:strConn = “Provider=Microsoft.Jet.OLEDB.4.0;” &_
“Data Source=c:/panda/panda.mdb;” &_
“Persist Security Info=False”
Set conn = Server.CreateObject ( “ADODB.Connection” )
conn.Open strConn
comment:ConnectionString คือค่าของการเชื่อมต่อต่างๆ
UserID คือชื่อของผู้ใช้ที่ต้องการติดต่อกับฐานข้อมูล
Password คือรหัสผ่านของผู้ใช้ ที่ต้องการติดต่อกับฐานข้อมูล
OpenOptions คือค่าคงที่ที่ใช้ระบุรูปแบบการติดต่อ