|
|
|
|
food / 2000-10-20 / ¿ÀÀü 10:10:08 / 210.219.185.189
Á¶È¸¼ö : 119
|
[Áú¹®] µµ¿ÍÁÖ¼¼¿ä |
ADODB.Fields error '800a0cc1'
ADO°¡ ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ ¿äûÇÑ À̸§ ¶Ç´Â À§Ä¡ ÂüÁ¶¿¡ ÇØ´çÇÏ´Â Ä÷º¼Ç¿¡¼ °³Ã¼¸¦ ãÁö ¸øÇß½À´Ï´Ù.
/mem1/thanks.asp, line 38
ÀÌ·± ¿¡·¯°¡ ³²´Ï´Ù
boranet
<%
'½Ã¸®¾ó ³Ñ¹ö »ý¼º¿£Áø ¼Ò½º----------------------------------
'**************************************************************************
'µðºñ Ä¿³Ø¼ÇÀÌ ¾øÀݾƿä... dbcoonnection¸¸ ÀÖÀ¸¸é ¾ÈµÇ¿ä..
set DBconnection = server.CreateObject("ADODB.connection")
DBconnection.Open ("DSN=sql;UID=sa;PWD=")
'À§ÀÇ ADOdbÄ¿³Ø¼Ç °³Ã¼°¡ µé¾î°¡¾ßÁö µ¥ÀÌŸº£À̽º¿Í ¿¬°á
'#################################################################################
sql = "select num from member order by num desc"
'Ä¿³Ø¼Ç ÀÎÀÚ¸¦ ¹Ù²ãÁáÀ½ DBconnection
set aa = DBconnection.execute (sql)
if aa.EOF then
num_1 = 1 + 1 '³Ñ¹ö°¡ Çϳªµµ ¾øÀ¸¸é
else
num_1 = 1 + aa("num") '³Ñ¹ö°¡ ÀÖÀ¸¸é °¡ÀåÅ«¼öÀÇ +1 : º¸¶ó³Ý Àü¿ë
end if
'else
' num_1 = 1 + aa("no") '³Ñ¹ö°¡ ÀÖÀ¸¸é °¡ÀåÅ«¼öÀÇ +1 Áö¿ìÁö ¸»°Í
num = len(num_1) '³Ñ¹öÀÇ ±æÀÌ
response.write num_1 & "/" & aa("no")& "|"
totalnum = 13 - num '13ÀÚ¿¡¼ »©±â ³Ñ¹öÀÇ ±æÀÌ
Result = left("0000006000000" & CStr(Number), totalnum) '13ÀÚ¸®¼ýÀÚ¿¡¼ ³²Àº ¼ö ¿À¸¥ÂʺÎÅÍ ÀÚ¸£±â
number = 1
response.write no_plus
serch_id = Result & num_1 '¿À¸¥ÂʺÎÅÍ ÀÚ¸¥¼ö ¿¡ ¼øÂ÷³Ñ¹ö ºÙÀ̱â
response.write serch_id & " "
'¿©±â±îÁö-------------------------------------------------
%>
<%time1 = date() & " " &hour(now) & ":" & minute(now) & ":" & second(now)%>
<%'·ÎµòÀÌ ¼öÁ¤ SQL ·Î ³¯Â¥ ¸¸µå´Â¹ý...
Que = "select convert(varchar(24), getdate(), 113)"
Set Rs = DBconnection.Execute(QUE)
time2 = Rs(0)
%>
ºÐ¸íÈ÷ Å×À̺í¾È¿¡ num À̶ó´Â °ÍÀÌ ÀÖÀ¾´Ï´Ù
¾Æ~ÇÏ ¾î·Æ´Ù
|
|
|
|