|
|
|
|
°æÈ£ / 2000-05-31 / ¿ÀÀü 9:06:10 / 211.51.20.144
Á¶È¸¼ö : 121
|
[Áú¹®] ÀÌ·± ¿¡·¯°¡ ¹ß»ýÇßÀ»¶© ¾îÄÉÇؾßÇϳª¿ä. |
ÀÌ·± ¿¡·¯ ¸Þ¼¼Áö°¡ ¶¹°Åµç¿ä.
±×·±µ¥ ¿¡·¯ÀÇ ¿øÀÎÀ» ¾Ë¼ö°¡ ¾ø±º¿ä.
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC Microsoft Access µå¶óÀ̹ö] 'board_idx=' Äõ¸®½ÄÀÇ ¿¬»êÀÚ°¡ ¾ø´Â ±¸¹® ¿À·ùÀÔ´Ï´Ù.
/offer/list.asp, line 17
<%
Set db = Server.CreateObject("ADODB.Connection")
db.Open("offer")
'Dim DbCon
'Set DbCon = erver.CreateObject"ADODB.Connection")
'DbCon.Open("DNS=offer;uid=sa;pwd=;")
'±Û Á¶È¸¼ö +1 ½ÃÅ°´Â ÇÔ¼ö
UpdateSQL = "Update myboard Set readnum = readnum + 1"
UpdateSQL = UpdateSQL & " where board_idx=" & request("idx")
-----------------------------------------------#
'Äõ¸® ½ÇÇà
db.execute UpdateSQL
'ÇöÀç ¼±ÅÃÇÑ Äõ¸® ºÒ·¯¿È
SQL = "SELECT * From offer where board_idx =" & request("idx")
#-------------------------------------¿¡·¯ºÎºÐ
Set.rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL,db
content = replace(rs("content"),chr(13) & chr(10)," ")
'°¡Á®¿Â µ¥ÀÌÅÍ ±Û ³»¿ë content¸¦ replaceó¸®
%>
ÀÌ ºÎºÐ¿¡¼ °£È¤ ¿¡·¯°¡ ¹ß»ýÇÏ´øµ¥ ,´ÙÀ½¿¡¶óµµ ´ëóÇÒ ¼ö ÀÖ°Ô ¿øÀεµ ¾ËÄÑ ÁÖ¼ÌÀ¸¸é °¨»çÇÏ°Ú½À´Ï´Ù. |
|
|
|