Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Discussion générale Problemes avec les formulaires

  • mardi 12 juin 2012 05:16
     
     

    Bonjour

    Je debute sur webmatrix et suis sur des tutoriaux de gestion des données.

    Ceci est un exemple du le tutoriel qui s'execute;

    @{

    var db = Database.Open("SmallBakery");

    var selectQueryString = "SELECT * FROM Products ORDER BY Name";

    }

    <!DOCTYPE html>

    <html>

    <head>

    <title>Small Bakery Products</title>

    <style>

    table, th, td {

    border: solid 1px #bbbbbb;

    border-collapse:collapse;

    padding:2px;

    }

    </style>

    </head>

    <body>

    <h1>Small Bakery Products</h1>

    <table>

    <thead>

    <tr>

    <th>Id</th>

    <th>Product</th>

    <th>Description</th>

    <th>Price</th>

    </tr>

    </thead>

    <tbody>

    @foreach (var row in db.Query(selectQueryString)){

    <tr>

    <td>@row.Id</td>

    <td>@row.Name</td>

    <td>@row.Description</td>

    <td>@row.Price</td>

    </tr>

    }

    </tbody>

    </table>

    </body>

    </html>

    cependant une fois que je remplace par ma base de données en prenant soin de modifier les noms de tables et de champs, j'ai une erreur 404.8

    Est ce que quelqu'un peut m'aider?

    Cordialement

    ACE

    • Type modifié nikhoModerator mercredi 4 juillet 2012 11:48 attente feedback
    •  

Toutes les réponses

  • jeudi 21 juin 2012 08:50
     
     

    Bonjour,

    Je suis loin d'être un expert WebMatrix/ IIS, mais j'ai trouvé ce lien qui pourrait vous être utile :

    http://support.microsoft.com/kb/942047

    Bonne journée


    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

  • lundi 25 juin 2012 12:33
    Modérateur
     
     

    Bonjour,

    Ces informations vous ont-elles été utiles ? Merci de tenir la communauté informée de la suite de vos démarches.

    Cordialement