bonjour j'ai une gridview
qui m'affiche le idClient, dateInterdiction, description,
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 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" DataSourceID="ListeInterd" ForeColor="#333333" GridLines="None" Width="675px"> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> <Columns> <asp:BoundField DataField="IdClient" HeaderText="IdClient" SortExpression="IdClient" /> <asp:BoundField DataField="DateInterdiction" HeaderText="DateInterdiction" SortExpression="DateInterdiction" /> <asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" /> </Columns> <EditRowStyle BackColor="#999999" /> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <SortedAscendingCellStyle BackColor="#E9E7E2" /> <SortedAscendingHeaderStyle BackColor="#506C8C" /> <SortedDescendingCellStyle BackColor="#FFFDF8" /> <SortedDescendingHeaderStyle BackColor="#6F8DAE" /> </asp:GridView> <asp:SqlDataSource ID="ListeInterd" runat="server" ConnectionString="<%$ ConnectionStrings:CENTRALConnectionString %>" SelectCommand="SELECT [IdClient], [DateInterdiction], [Description], [Type] FROM [Interdiction] WHERE ([Type] = @Description)"> <SelectParameters> <asp:Parameter DefaultValue="Bancaire" Name="Description" Type="String" /> </SelectParameters> </asp:SqlDataSource>
comment est-ce que je peux ajouter un filtrage dans l'affichage de mon gridview en utilisant 2 composant de calendar dont lesquel je choisir 2 dates et quand je clique sur une bouton filtrer il m'affiche que les enregistrements comprise entre ces 2 dates
Partager