|
|
|
|
俵ÀÌ / 2000-05-31 / ¿ÀÈÄ 7:34:46 / 203.255.3.190
Á¶È¸¼ö : 427
|
[Áú¹®] À妽º, ±âº» Å° ¶Ç´Â °ü°è¿¡¼ Áߺ¹µÈ °ªÀ¸·Î ÀÎÇÑ ¿¡·¯ |
> ÇöÀç ¿¡·¯¸Þ¼¼Áö¿¡ ÀÌ·± °ÍÀÌ ³ª¿Ô½À´Ï´Ù.
>
> Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
>
> [Microsoft][ODBC Microsoft Access µå¶óÀ̹ö] À妽º, ±âº» Å° ¶Ç´Â °ü°è¿¡¼ Áߺ¹µÈ °ªÀ» ¸¸µé¾ú±â ¶§¹®¿¡ Å×ÀÌºí¿¡ ¿äûµÈ º¯°æ »çÇ×ÀÌ Àû¿ëµÇÁö ¾Ê¾Ò½À´Ï´Ù. ÇʵåÀÇ µ¥ÀÌÅÍ ¶Ç´Â Áߺ¹ µ¥ÀÌÅÍ°¡ ÀÖ´Â Çʵ带 º¯°æÇϰųª À妽º¸¦ Á¦°ÅÇϰųª Áߺ¹ÀÌ °¡´ÉÇÑ À妽º·Î ´Ù½Ã Á¤ÀÇÇÏ¿© ´Ù½Ã ½ÃµµÇϽʽÿÀ.
> /offer/write_ok.asp, line 60
>
>
>
> ÀÌ¿¡ ´ëÇÑ ¼Ò½º´Â ´ÙÀ½°ú °°½À´Ï´Ù.....
> <%
> 'request °³Ã¼¸¦ ÅëÇØ ³Ñ¾î¿Â °ªµéÀ» º¯¼ö¿¡ ÀúÀåÇÑ´Ù.
> name = request("name")
> email = request("email")
> url = request("url") 'ȨÆäÀÌÁö
> title = request("title")
> company = request("company")
> country = request("country")
> vdate = request("vdate")
> mcode = request("mcode")
> pregident = request("pregident")
> depart = request("depart")
> addre = request("addre")
> tel = request("tel")
> fax = request("fax")
> pwd = request("pwd")
> content = request("content")
>
>
>
> set db = server.CreateObject("ADODB.Connection")
> 'µ¥ÀÌÅͺ£À̽º ¿¬°áÀ» À§ÇÑ Connetion°³Ã¼ÀÇ ÀνºÅϽº¸¦ »ý¼ºÇÑ´Ù.
> db.Open("offer")
> 'db open(DNS)DNS¿¬°á
> SQL = "Select MAX(num) as maxnum from myboard"
> 'µ¥ÀÌÅÍ Äõ¸®¹®
> set rs = Server.CreateObject("ADODB.Recordset")
> '·¹ÄÚµå¼Â ÀνºÅϽº »ý¼º
> rs.Open SQL,db
> 'ÁöÁ¤ÇÑ Äõ¸®·Î db¿¬°á....·¹ÄÚµå¼Â °³Ã¼ °á°ú dbÀúÀå
>
> If rs("maxnum")="" Then
> '¸¸ÀÏ ÇöÀç °¡Á®¿Â µ¥ÀÌÅÍ°¡ ÀüÇô ¾øÀ» °æ¿ì
> number = 1 'ÇöÀç ±Û ¹øÈ£¿ë º¯¼ö¿¡ 1À» ¼¼ÆÃ
> else '¸¸ÀÏ ÇöÀç °¡Á®¿Â µ¥ÀÌÅÍ°¡ ÀÖÀ» °æ¿ì´Â
> number = rs("maxnum") + 1 '±× ¹øÈ£¿¡ +1À» Çؼ ÇöÀçÀÇ ±ÛÀÇ ³Ñ¹ö ¼¼ÆÃ
> End If
>
>
>
> SQL = "INSERT INTO myboard(name,email,url,title,company,country,vdate,mcode,pregident,depart,addre,tel,fax,content,"
> SQL = SQL & " readnum,writeday,pwd)VALUES "
> SQL = SQL & "('" & name & "'"
> SQL = SQL & ",'" & email & "'"
> SQL = SQL & ",'" & url & "'"
> SQL = SQL & ",'" & title & "'"
> SQL = SQL & ",'" & company & "'"
> SQL = SQL & ",'" & country & "'"
> SQL = SQL & ",'" & vdate & "'"
> SQL = SQL & ",'" & mcode & "'"
> SQL = SQL & ",'" & pregident & "'"
> SQL = SQL & ",'" & depart & "'"
> SQL = SQL & ",'" & addre & "'"
> SQL = SQL & ",'" & tel & "'"
> SQL = SQL & ",'" & fax & "'"
> SQL = SQL & ",'" & content & "'"
> SQL = SQl & ",0,'" & now() & "'"
> SQL = SQL & ",'" & pwd & "')"
>
> db.execute SQL------------------À̺κп¡¼¿¡·¯
> 'µ¥ÀÌÅͺ£À̽º¿¡insertÄõ¸®¸¦ º¸³» »õ·Î¿î µ¥ÀÌÅÍ ÀÔ·Â
>
>
> rs.Close
> db.Close
> Set rs = Nothing
> Set db = Nothing
>
> Response.redirect "list.asp"
>
> %>
>
>
-----------------------------------------------------------
°æÈ£´ÔÀ̶û °æö´ÔÀ̶ó Èñ»ó´ÔÀ̶û ¾î¶² »çÀ̽Ű¡¿ä?
¾Æ´Ô °è¼Ó °°Àº À̸§À¸·Î ¹°¾îº¸±â°¡ ±×·±°Í °°¾Æ
À̸§À» °íÃÄ°¡¸é¼ ¹°¾îº¸½Ã´Â°ÇÁö¿ä?
°°Àº ¼Ò½º¸¦ °¡Áö°í 3¸í¾¿À̳ª µ¹¾Æ°¡¸é¼ ¹°¾îº¸´Â ÀÌÀ¯°¡ ¹ºÁö ±Ã±ÝÇÕ´Ï´Ù.
¾Æ´Ï¸é ¹«½¼ ÇпøÀ̳ª Çб³ ¼ö¾÷À̽Ű¡¿ä?
¾î´À ÇѺеµ Àڱ⠽źÐÀº ¹àÈ÷½ÃÁö ¾Ê¾Ò±º¿ä...
´ÔµéÀÇ Áú¹®¿¡´Â º°·Î ´äÇص帮°í ½ÍÁö ¾Ê±º¿ä...
Á˼ÛÇÕ´Ï´Ù...
|
|
|
|