• 18-03-2008, 16:15:53
    #1
    Üyeliği durduruldu
    <%Set conn = Server.CreateObject("ADODB.Connection")
    Set rs = Server.CreateObject("ADODB.Recordset")
    conn.open "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("db/asdd1.mdb")
    rs.open "select * from video",baglanti,1,3
    toplam=rs.recordcount
    rs.close()%>

    asp'de çok yeniyim, yukardaki kod ile son eklenen 10 veriyi göstermek istiyorum. ama yapamadım

    ADODB.Recordset error '800a0bb9'

    Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

    /son10.asp, line 4

    böle hata veriyor, kodun neresinde hata var (
  • 18-03-2008, 17:55:17
    #2
    Üyeliği durduruldu
    <%Set conn = Server.CreateObject("ADODB.Connection")
    Set rs = Server.CreateObject("ADODB.Recordset")
    strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Server.MapPath("db/asdd1.mdb") &";"
    rs.open "select * from video",baglanti,1,3
    toplam=rs.recordcount
    rs.close()%>

    şu kodu denesen bi
  • 18-03-2008, 18:17:46
    #3
    Üyeliği durduruldu
    ADODB.Recordset error '800a0bb9'

    Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

    /son10.asp, line 4

    yukardaki hatayı veriyor
  • 18-03-2008, 19:38:50
    #4
    Üyeliği durduruldu
    <!--#include file="conn.asp"-->
    <html>
    <head>
    <link href="www.xxxxxxxxxxx.com/img/style.css" rel="stylesheet" type="text/css">
    </head>

    <body topmargin="0" oncontextmenu="return false"
    onselectstart="return false" ondragstart="return false"
    onmouseover="window.status='&nbsp;';return true">

    <div id="logoo">
    <table width="1" height="87" border="0" cellpadding="0" cellspacing="0">

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    </table>
    </td>
    </form>
    </tr>
    </table>
    </div>

    <center>
    </td>
    </div>
    <div id="dis">
    <table width="545" border="0">
    <tr>
    <td width="100%">
    <div id="top">
    </td>
    </tr>
    <tr>
    <td width="75%" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>

    <%
    sf = Request("sf")
    if sf="" then
    sf="1"
    end if
    rs.open "Select * from video order by videoID desc",baglanti,1,3
    rs.pagesize = 12
    rs.absolutepage = sf
    sayfa = rs.pagecount
    for a=1 to rs.pagesize
    if rs.eof then exit for %>
    <TABLE width="15%" border=0 align="left">
    <TBODY>
    <TR>
    <TD width="25%"><DIV id=liste_video
    onmouseover="this.style.border='1px solid #999999'"
    onmouseout="this.style.border='1px solid #111111'">
    <DIV id=liste_resim><A
    href="izlesene-<%=temizle(rs("video_adi"))%>-<%=rs("videoID")%>.html"><IMG
    height=90 alt="<%=rs("video_adi")%>"
    src="<%=rs("video_resim")%>"
    width=114 border=0></A></DIV>
    <DIV id=liste_baslik><%=rs("video_adi")%></DIV>
    <DIV id=liste_hiti><%=rs("video_hit")%> kez izlendi</DIV>
    </DIV></TD>
    </TR>
    </TBODY>
    </TABLE>
    <% if a mod 4 = 0 then
    Response.Write "</td></tr><tr><td>"
    end if
    rs.movenext
    next
    rs.close() %></td>
    </tr>
    </table>

    hallettim bu kodla tşkler
  • 19-03-2008, 04:33:34
    #5
    halletmişsin son mesajı gormemısım =)