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
| <asp:Panel ID="panResultat" runat="server" Height="236px" Style="z-index: 128; left: 5px;
position: absolute; top: 370px; background-color: #afafff" Width="940px"
Visible="false">
<asp:Label ID="lblTitre2" runat="server" Style="z-index: 100; left: 532px; position: absolute;
top: 5px; height: 26px; width: 400px;"
Text="Résultat de la Recherche (liste de candidatures):"></asp:Label>
<asp:SqlDataSource ID="sdsListeCandidatures" runat="server"
ConnectionString="<%$ ConnectionStrings:IDIRH_TESTConnectionString %>"
ProviderName="<%$ ConnectionStrings:IDIRH_TESTConnectionString.ProviderName %>"
SelectCommand="SELECT can_id, nom, prenom, convert(varchar(10),date_creation,103) as date_creation_formatee FROM dbo.candidature "
EnableCaching="false" DataSourceMode="DataSet"
>
</asp:SqlDataSource>
<asp:GridView ID="gvListeCandidatures" runat="server"
AutoGenerateColumns="False" BackColor="LightGoldenrodYellow"
BorderColor="Tan" CellPadding="2"
DataSourceID="sdsListeCandidatures" ForeColor="Black"
Style="z-index: 103; left: 5px; position: absolute;
top: 5px; width: 350px; height: 144px;" AllowPaging="True" Font-Names="Arial"
PageSize="7" DataKeyNames="CAN_ID">
<FooterStyle BackColor="Teal" BorderColor="GrayText" />
<Columns>
<asp:CommandField ShowSelectButton="True" SelectText="Voir">
<ItemStyle Width="40px" Height="20px" Wrap="False" />
<ControlStyle Width="40px" />
<HeaderStyle Height="25px" Wrap="False" />
<FooterStyle Height="25px" Wrap="False" />
</asp:CommandField>
<asp:BoundField DataField="NOM" HeaderText="NOM" SortExpression="NOM">
<ItemStyle Width="80px" Wrap="False" Height="20px" />
<ControlStyle Width="80px" />
<HeaderStyle Height="25px" Wrap="False" />
<FooterStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="PRENOM" HeaderText="PRENOM" SortExpression="PRENOM">
<ItemStyle Width="160px" Wrap="False" Height="20px" />
<ControlStyle Width="160px" />
<HeaderStyle Height="25px" Wrap="False" />
<FooterStyle Wrap="False" />
</asp:BoundField>
<asp:BoundField DataField="CAN_ID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
SortExpression="CAN_ID" ShowHeader="False" Visible="False">
<ItemStyle Width="1px" />
<ControlStyle Width="1px" />
<HeaderStyle Width="1px" Height="25px" />
<FooterStyle Width="1px" />
</asp:BoundField>
<asp:BoundField DataField="date_creation_formatee" HeaderText="Créé le"
SortExpression="date_creation_formatee" >
<ControlStyle Width="70px" />
<HeaderStyle Height="25px" />
<ItemStyle Width="70px" Wrap="False" Height="20px" />
</asp:BoundField>
</Columns>
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite"
BorderColor="GrayText" Height="20px" Wrap="False" />
<PagerStyle BackColor="#FFEF6F" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" BorderColor="GrayText" BorderStyle="Solid"
BorderWidth="1px" Height="25px" Wrap="False" />
<HeaderStyle BackColor="#FFD240" Font-Bold="True" BorderColor="GrayText"
Height="25px" Wrap="False" />
<AlternatingRowStyle BackColor="PaleGoldenrod" BorderColor="GrayText"
BorderStyle="Solid" BorderWidth="1px" Height="20px" Wrap="False" />
<RowStyle BorderColor="GrayText" BorderStyle="Solid" BorderWidth="1px"
Height="20px" Wrap="False" />
<EmptyDataRowStyle BorderColor="GrayText" BorderStyle="None" />
<EditRowStyle BorderColor="GrayText" />
</asp:GridView>
<asp:Button ID="btnPortail" runat="server" Style="z-index: 134; left: 845px; position: absolute;
top: 515px; background-color: #8080ff;" Text="IDIPortail" Width="85px" />
<asp:Button ID="btnback" runat="server" OnClientClick="return back();"
Style="z-index: 134; left: 745px; position: absolute; top: 550px; background-color: #8080ff"
Text="Back" Width="85px" />
<asp:Button ID="Btnnext" runat="server" OnClientClick="return next();"
Style="z-index: 134; left: 845px; position: absolute; top: 550px; background-color: #8080ff"
Text="Next" Width="85px" />
</asp:Panel>
</td>
</tr>
</table>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnRechercher" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="gvListeCandidatures" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel> |
Partager