´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • 俵ÀÌ / 2000-06-19 / ¿ÀÈÄ 2:13:22 / 203.255.3.190
    Á¶È¸¼ö : 107
    [Áú¹®] ¼öÁ¤À» Çϴϱî,Àüü µ¥ÀÌÅÍ°¡ Çϳª·Î º¯°æµÆ¾î¿ä
    > ¾È³çÇϽʴϱî ?
    > ¿¹Àü¿¡ 俵´ÔÀ» ±ÍÂú°Ô Çصå·È´ø ¼Ò½º¿¡ ¹®Á¦°¡ ¹ß»ýÇؼ­ ÀÌ·¸°Ô ±ä±ÞÇÏ°Ô ±ÛÀ» ³²±é´Ï´Ù.
    > ¿ì¼±Àº ±âÁ¸¿¡ µ¥ÀÌÅÍ°¡ ÀÖÀ» °æ¿ì ¸»ÀÔ´Ï´Ù.¼öÁ¤À¸·Î ÇÑ°¡Áö µ¥ÀÌÅ͸¦ ÇϸéÀº ¸ðµç µ¥ÀÌÅÍ°¡ ¼öÁ¤Çß´ø µ¥ÀÌÅÍ·Î ¹Ù²Ù¾î ¹ö·È°Åµç¿ä...
    > ÀÌ ¹®Á¦ Á» ÇØ°á ÇØÁÖ¼¼¿ä
    > ¼Ò½º´Â ´ÙÀ½°ú °°½À´Ï´Ù.
    > <%
    >
    > '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")
    > db.Open("offer")
    >
    > 'ÇöÀçÀÇ ±ÛÀÇ ºñ¹Ð¹øÈ£¸¦ °¡Á®¿À´Â Äõ¸®¹®À» ÀÛ¼º
    > SQL = "Select pwd from myboard where board_idx = " & request("idx")
    >
    > set result = db.execute(SQL)
    > pwd=result("pwd")
    > Set db = Nothing
    > 'ÀԷ¹ÞÀº ºñ¹Ð¹øÈ£¿Í ½ÇÁ¦ ºñ¹Ð¹øÈ£¸¦ ºñ±³ÇÏ¿© ÀÏÄ¡ÇÑ´Ù¸é
    > if request("pwd") = pwd then
    > Set db = Server.CreateObject("ADODB.Connection")
    > db.Open("offer")
    > SQL = "UPDATE myboard set name = '" & name &"'"
    > SQL = SQL & ",email = '" & email & "'"
    > SQL = SQL & ",url= '" & url & "'"
    > SQL = SQL & ",title='" & title & "'"
    > SQL = SQL & ",company='" & company & "'"
    > SQL = SQL & ",country='" & country & "'"
    > SQL = SQL & ",vdate='" & vdate & "'"
    > SQL = SQL & ",mcode='" & mcode & "'"
    > SQL = SQL & ",pregident='" & pregident & "'"
    > SQL = SQL & ",depart='" & depart & "'"
    > SQL = SQL & ",addre='" & addre & "'"
    > SQL = SQL & ",tel='" & tel & "'"
    > SQL = SQL & ",fax='" & fax & "'"
    > SQL = SQL & ",content='" & content & "'"
    > SQL = SQL & " where board_idx = "& request("idx")
    > db.execute SQL
    > Set db = Nothing
    > Response.Redirect "list.asp"
    > 'µ¥ÀÌÅͺ£À̽º¿¡ ÇöÀçÀÇ ·¹Äڵ带 updateÇÏ°í ¸®½ºÆ®·Î µ¹¾Æ°£´Ù.
    >
    > else
    >
    > %>
    >
    >
    > <%
    > end if
    > %>
    -----------------------------------------------------------

    ÀÌ ¹®Á¦´Â request("idx")ÀÇ °ªÀÌ Á¦´ë·Î ³Ñ¾î¿ÀÁö ¾Ê±â ¶§¹®ÀÔ´Ï´Ù.

    UPDATEÀÇ ¹®¿¡¼­´Â WHERE ÀýÀÌ Á¦´ë·Î ÀÏÄ¡ÇÏÁö ¾ÊÀ¸¸é

    ÀÌ¿Í°°ÀÌ ¸ðµç µ¥ÀÌŸ°¡ ¼öÁ¤ÀÌ µÉ ¼ö ÀÖ½À´Ï´Ù.

    request("idx")¸¦ üũÇØ º¸½Ã±â ¹Ù¶ø´Ï´Ù.
    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :