´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net) ÀÔ±¹Çϱâ | ¿µÁÖ±Ç ½Åû
  • ¸öºÎ¸² °ñ¶ó°ñ¶ó
  • ¼Ò±Ù¼Ò±Ù
  • µµ¶õµµ¶õ
  • ³«¼­¸¶´ç
  • Âø°¢ÇѾÆÀÌ
  • ¼ýÀÚ¸ÂÃß±â
  • ¼Ò¿øºô±â
  • ÈçÀû³²±â±â
  • ²Þ¼Ó¿©Çà
  • Ä£±¸Áý ³î·¯°¡±â
  • ¸ðµÎµå¸²´ÔÀÇ È¨
  • î¤éÞ´ÔÀÇ È¨
  • Çö¿ì´ÔÀÇ È¨
  • º°¾ÆÇØ´ÔÀÇ È¨
  • ÇÞ»ì´ÔÀÇ È¨
  • À̳ª´Ï´ÔÀÇ È¨
  • À¯¸®¾Ë´ÔÀÇ È¨
  • ³È³ÈÀÌ´ÔÀÇ È¨
  • ²ÀÁö´ÔÀÇ È¨
  • ´ë¼º´ÔÀÇ È¨
  • 俵ÀÌ / 2001-08-07 / ¿ÀÈÄ 5:22:27 / 203.255.3.190
    Á¶È¸¼ö : 151
    [Áú¹®] ÁË¼Û ¼Ò½º¸¦ ¿Ã¸³´Ï´Ù........x);
    > <%
    > Dim Conn,rs,ip,rs1,tablename,strSQL
    >
    > Set Conn = Server.CreateObject("ADODB.Connection")
    > Conn.Open "driver={SQL Server};server=***.***.***.***;uid=****;pwd=****;
    > database=****"
    >
    > tablename="BugBoard"
    >
    > If Trim(Request("Find")) <> "" Then
    >
    > strFind = Replace(Request("Find"),"&","&")
    >
    > 'ã°íÀÚ ÇÏ´Â ´Ü¾î¸¦ ÀϹݺ¯¼ö¿¡ ³Ö´Â´Ù.
    > strFind = Replace(strFind,"'",""")
    > strSearch = Request("search")
    > strTail = strTail & " & Find= " & strFind & " & search = " & strSearch
    >
    >
    > 'LIKE¹®À» »ç¿ëÇØ ºñ½ÁÇÑ ´Ü¾î¸¦ ¼±ÅÃÇØ ¿Â´Ù.
    > strSQL = "SELECT * FROM " & tablename & " where " & strSearch & " LIKE '%" & strFind & "%'"
    >
    > if attr <> 6 then
    > strSQL = strSQL & " ORDER BY ref DESC"
    > else
    > strSQL = strSQL & " ORDER BY id DESC"
    > end if
    >
    > Else
    > if attr <> 6 then
    > strSQL = "SELECT * FROM " & tablename & " ORDER BY ref DESC, step"
    > else
    > strSQL = "SELECT * FROM " & tablename & " ORDER BY id DESC"
    > end if
    > End If
    >
    >
    > ' Set oRS = Server.CreateObject("ADODB.RecordSet")
    > set rs = Conn.Execute(strsql)
    > ' rs.open strSQL , oConn, 1, 1
    >
    > if Not rs.EOF then
    > ' rs.MoveLast
    > count=rs.RecordCount
    > rs.MoveFirst
    > End If
    >
    > If Len(request("PAGE")) > 0 then
    > intPage = CInt(request("PAGE"))
    > Else
    > intPage = 1 'oRS.PageCount
    >
    > If intPage = 0 Then
    > intPage = 1
    > End If
    > End If
    >
    > intPageBlock = 10
    >
    > If NOT rs.EOF Then
    > rs.PageSize = 15
    > intLast = rs.PageCount
    > If intLast = 0 Then
    > intLast = 1
    > End If
    >
    > ' rs.AbsolutePage = intPage
    > RowCount = 0
    > End If
    > %>
    > ...............
    >
    > <%
    > Do While NOT rs.EOF AND intRowCount < rs.PageSize
    >
    > imgSymbol = ""
    >
    > if attr <>6 then
    > If( rs("re_level") = 0 ) Then
    > imgSymbol = ""
    > Else
    > intLength_Count = 0
    > imgSymbol = ""
    > While ( intLength_Count < rs("re_level") )
    > imgSymbol = imgSymbol & "   "
    > intLength_Count = intLength_Count + 1
    > Wend
    > imgSymbol = imgSymbol & "<img src='images/arrow.gif' border='0'>"
    > End If
    > End if
    > %>
    > <tr bordercolor="#9999CC" bgcolor=#FAFAFA onMouseOver="setbackground(this,'#F7F7F7')" onMouseOut="setbackground(this,'#FAFAFA')">
    > <td width="50" align="center" class="LstTitle" height="20"><% =(count-(intPage-1)*rs.PageSize-i)%></td>
    > ÀÌ ºÎºÐÀÔ´Ï´Ù.
    > Èæ.....
    > ²ÀÁö´Ô°ú ½Ã¾ÖƲÃÌ´ß´Ô ¸»Ã³·³ ºÐ¼®À» ÇØ º¸¾Ò´Âµ¥
    > ¸Ó¸®°¡ ¾È ÁÁ¾Æ¼­ ÇÑ µ¿¾È º° ÁþÀ» ´Ù Ç߳׿ä...
    > A ±×·¡¼­ ¼Ò½º¸¦ ¿Ã·Áº¾´Ï´Ù.
    > ²ÀÁö´Ô ¸»µû¶ó...3)¹øÀÌ ÇØ´çµË´Ï´Ù...
    > ±ÍÂúÁö¸¸ ÇÑ ¹ø º¸¾ÆÁÖ¼¼¿ä.....
    -----------------------------------------------------------

    ' Set oRS = Server.CreateObject("ADODB.RecordSet")
    set rs = Conn.Execute(strsql)
    ' rs.open strSQL , oConn, 1, 1


    ÀÌ·¸°Ô µÇ¾î ÀÖ´Â ºÎºÐÀ»...


    Set rs = Server.CreateObject("ADODB.RecordSet")
    'set rs = Conn.Execute(strsql)
    rs.open strSQL, Conn, 1, 1

    ÀÌ·¸°Ô °íÃÄ º¸¼¼¿ä....


    Byte * 200 Byte À̳»·Î ÀÔ·ÂÇϼ¼¿ä À̸§ : Æнº¿öµå :