Set DB = Server.CreateObject("ADODB.Connection")
DB.open "DSN=aa;UID=bb;PWD=;"
Set rs = Server.CreateObject "ADODB.RecordSet")
sql = "select * from table where id='"& id
Set rs = db.Execute(sql)
name = rs("name")
À§¿¡´Â ÀÌ·¸°Ô ÇϽñ¸¿ä..
¾Æ·¡ÀÇ ³»¿ë¿¡ µé¾î°¥ µðºñ¸¦ ¸ÂÃç¼...
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.open "DSN=aa;UID=bb;PWD=;"
Set rsd = Server.CreateObject "ADODB.RecordSet")
rsd.Open "SELECT * FROM table2 where Àý...order by id desc","DSN=aa;UID=bb;PWD=",1,2
sql2)
name = rsd("name")
ÀÌ·¸°Ô ÇѹøÇغ¸¼¼¿ä..
Àú´Â ÀÌ·±¹æ¹ýÀ» ÀÌ¿ëÇÕ´Ï´Ù.
ÀúµÎ °í¼ö´Â ¾Æ´Ï¶ó¼³~~~
±×·³ Áñ.ÇÁ Çϼ¼¿ä~~~