1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
   |          <%  int x = 1980;
         while (x < DateTime.Today.Year)
         {
             %>
 
    <div>
 
        <asp:AccessDataSource ID="ListePub" runat="server" 
            DataFile="~/pub.mdb" 
 
            SelectCommand="SELECT [Identificateur], [Auteurs], [Titre], [Comment], [Journal], [Volume], [Pages], [Annee], [Livre], [Jrnl], [doi] FROM [Publications] WHERE (([Annee] = ?) AND ([IPadress] = ?)) ORDER BY [DateCreation]" >
            <SelectParameters>
                <asp:QueryStringParameter DefaultValue='<%=x%>' Name="Annee" 
                    QueryStringField="pp" Type="Int16" />
                <asp:QueryStringParameter DefaultValue="165.91.02.48" Name="IPadress" 
                    QueryStringField="IPadress" Type="String" />
            </SelectParameters>
        </asp:AccessDataSource>
...
...
...
...
... | 
Partager