Salut à tous,
je suis en train de coder une page en asp qui récupères les données d'utilisateurs à partir d'une table de données sous access.
Mais je n'arrive pas àfficher le contenu de la table, la page affiche juste le code de mes recordsets. J'ai testé la requète sql et elle est correcte, donc cela ne vient pas de ca.

Le code de ma page est :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<%	
Set conn = Server.CreateObject("ADODB.Connection")
connstring = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath(".") & "\data\db.iol" 
conn.Open connstring, adOpenDynamic, adLockOptimistic
Set rst = Server.CreateObject("ADODB.Recordset")
Set myrst = Server.CreateObject("ADODB.Recordset")
Set rec = Server.CreateObject("ADODB.Recordset")
%>
 
 <html>
 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Users</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
 
<body background="images/fond.gif">
<div align="center">
  <center>
  <table border="0" width="644" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%"><a href="users_edit.asp?num=999999"><img border="0" src="images/nouveau.gif"></a></td>
    </tr>
  </table>
  </center>
</div>
<br>
      <table align="center" width="644" border="0" cellpadding="0" cellspacing="0" background="images/bulle_haut.gif">
        <tr> 
          <td><div align="left" class="titre1">
              <img src="images/cale.gif" width="25" height="25" align="middle"> 
              :::: Liste des utilisateurs: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
            </div>
          </td>
        </tr>
      </table>
 
      <table align="center" width="644" border="0" cellpadding="0" cellspacing="0" background="images/bulle_fond.jpg">
                <tr> 
          <td width="32" class="titre1"><br> <table width="644" border="0" cellpadding="1" cellspacing="1" bgcolor="#2D9DB2">
              <tr bgcolor="#F0F7F7"> 
                <td width="118" bgcolor="#D1E7E7" class="titre1" valign="top" align="center"> <div align="center"> 
                    <p class="titre1"><font color="#172F2F">Nom/Prénom</font></p>
                  </div></td>
                <td width="93" bgcolor="#B3D7D7" class="titre1" valign="top" align="center"> <div align="center"><font color="#172F2F">Téléphone</font></div></td>
                <td width="60" bgcolor="#D1E7E7" class="titre1" valign="top" align="center"> Mobile</td>
                <td width="50" bgcolor="#B3D7D7" class="titre1" valign="top" align="center"> <font color="#172F2F">Email</font></td>
                <td width="197" bgcolor="#D1E7E7" class="titre1" valign="top" align="center"> <div align="center"><font color="#172F2F">Fonction/Infos</font></div></td>
                <td width="90" bgcolor="#B3D7D7" class="titre1" align="center"> <div align="center">&nbsp;</div></td>
              </tr>
  <%
  rst.open "select * from Table_Users where UserValid = -1 order by UserNom" ,conn
  nbt=0
  do while not rst.eof
 
  if nbt=0 then
  nbt=1
  %>
              <tr bgcolor="#F0F7F7"> 
                <td height="25" width="118" class="texte" valign="top"><% = rst("UserNom")%></td>
                <td height="25" width="93" class="texte" valign="top"></td>
                <td height="25" width="60" class="texte" valign="top"></td>
                <td height="25" width="50" class="texte" valign="top"><a href="mailto:<% = rst("UserMail") %>"></a></td>
                <td height="25" width="197" class="texte" valign="top"></td>
                <td height="25" width="90" align="center"> <div align="center"><a href="users_edit.asp?num=<% = rst("UserNum") %><img border="0" src="images/editer.gif"></a></div></td>
              </tr>
  <%
  else
  nbt=0
  %>
              <tr bgcolor="#D1E7E7"> 
               <td height="25" width="118" class="texte" valign="top"><% = rst("UserNom")%></td>
                <td height="25" width="93" class="texte" valign="top"></td>
                <td height="25" width="60" class="texte" valign="top"></td>
                <td height="25" width="50" class="texte" valign="top"><a href="mailto:<% = rst("UserMail") %>"></a></td>
                <td height="25" width="197" class="texte" valign="top"></td>
                <td height="25" width="90" align="center"> <div align="center"><a href="users_edit.asp?num=<% = rst("UserNum") %><img border="0" src="images/editer.gif"></a></div></td>
              </tr>
 
  <%
  end if
  rst.movenext
  loop
  rst.close
	%>
            </table></td>
        </tr>
 
      </table>
      <table align="center" width="644" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td>
            <img src="images/bulle_bas.gif" width="644" height="20">
          </td>
        </tr>
      </table>
 
</body>
 
</html>
Je pense que j'ai une erreur toute bête mais je n'arrive pas à déterminer où, donc si quelqu'un pouvait m'éclairer...