Formation base de données via asp

Fermé
kaid - 21 mai 2003 à 15:36
 Sall - 22 sept. 2003 à 13:22
salut!! j'ai creé une base de données avec access biblio.mdb, je vaux intéroger cette base de données via internet en utilisant le langage asp ,comment dois je le faire ,la confuguration avec iis ,odbc ainsi le code source asp qui fait des requète sur cette base
merci de ton aide!!

3 réponses

fatima78 Messages postés 10 Date d'inscription mercredi 2 juillet 2003 Statut Membre Dernière intervention 24 décembre 2003
30 juil. 2003 à 11:36
Est ce que tu a arrivé à resoudre le problème , car je veux faire la meme chose , si tu peux m'aider :-)
0
fou2dodie Messages postés 605 Date d'inscription mercredi 6 juin 2001 Statut Membre Dernière intervention 29 août 2006 33
31 juil. 2003 à 14:30
ouhla! les mecs y a pas de secrets faut apprendre le langage asp.
alors pour débuter je vous conseillerais les sites www.asp-irine.com puis aprés pour consolider un peu vos bases allez sur www.asp-php.net
avec ça vous devriez avoir les bases suffisantes pour réaliser ce que vous voulez faire

LMCT

j'ai touché le fond
maintenant je creuse
0
fatima78 Messages postés 10 Date d'inscription mercredi 2 juillet 2003 Statut Membre Dernière intervention 24 décembre 2003
2 août 2003 à 11:02
merci pour c'est deux adresses de sites , et bien je commence et j'espère reussir, merci encore
0
<%@ language="Jscript"%>
<%Response.Expires=0;%>
<%
var filePath="c:\\temp\\Projet.mdb";
var oConn=Server.CreateObject("ADODB.connection");
oConn.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data source="+filePath);
var oRs;
oRs=oConn.Execute("select * from partenaire ");
%>

<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>verrif1</title>

</head>

<body >
<p align="center"><b><font face="Arial Black" size="5">
Liste des partenaires      </font></b>
<table border="10" width="754" height="36">
<tr><td bgcolor="#00FFFF" width="58" height="22"><b><font face="Arial Narrow" size="3">Numéros</font></b></td>
<td bgcolor="#00FFFF" width="115" height="22"><b><font face="Arial Narrow" size="3">Nom  </font></b></td>
<td bgcolor="#00FFFF" width="115" height="22"><b><font face="Arial Narrow" size="3">Prénom</font></b></td>
<td bgcolor="#00FFFF" width="115" height="22"><b><font face="Arial Narrow" size="3">Organisme</font></b></td>
<td bgcolor="#00FFFF" width="115" height="22"><b><font face="Arial Narrow" size="3">Téléphone</font></b></td>
<td bgcolor="#00FFFF" width="189" height="22"><b><font face="Arial Narrow" size="3">Fax</font></b></td>
<td bgcolor="#00FFFF" width="97" height="22"><b>EMAIL</b></td>
<td bgcolor="#00FFFF" width="86" height="22"><b><font face="Arial Narrow" size="3">Site</font></b></td>
<td bgcolor="#00FFFF" width="27" height="22"><font face="Arial Narrow" size="3"><B>Filière</B></font></td>
<td bgcolor="#00FFFF" width="79" height="22"><b><font face="Arial Narrow" size="3">Activité</font></b></td>
<td bgcolor="#00FFFF" width="52" height="22"><b><font face="Arial Narrow" size="3">Dépt</font></b></td>
<td bgcolor="#00FFFF" width="217" height="22"><b><font face="Arial Narrow" size="3">Remarques</font></b></td>
<tr>

<%
while(!oRs.eof){
%>
<tr>
<td height="2" width="58">
<%=oRs("numéros").Value%>
</td>
<td height="2" width="115">
<font face="Arial Narrow" size="3">
<%=oRs("Nom").Value%>
</font>
</td>
<td height="2" width="115">
<%=oRs("Prenom").Value%>
</td>
<td height="2" width="115">
<%=oRs("organisme").Value%>
</td>
<td height="2" width="115">
<%=oRs("telephone").Value%>
</td>
<td height="2" width="189">
<%=oRs("Fax").Value%>
</td>
<td width="80" height="2">
<font face="Arial Narrow" size="3">
<%=oRs("email").Value%>
</font>
</td>

<td width="97" height="2"> <%=oRs("Site").Value%> </td>
<td>
<%=oRs("filiere").Value%>
</td>
<td width="132" height="2">
<font face="Arial Narrow" size="3">
<%=oRs("activite").Value%>
</font>
</td>
<td width="79" height="2">
<%=oRs("dep").Value%>
</td>
<td width="52" height="2">
<%=oRs("remarques").Value%>
</td>


</tr>
<% oRs.MoveNext();%>
<%}%>
</table>
</body>
</htm>
0