a tous!

J'ai creer une appli avec un repeater mais lorsque je l'execute cela me dit l'erreur suivante :

Synthaxe incorrect vers 'entreprise'.
voici la structure de mon repeater :

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
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
 
       <asp:Repeater id="RptTabApp" runat="server">
            <HeaderTemplate>
                <table bgcolor="silver" width="300">
                    <tr bgcolor="#0000FF" >
                        <td align="center">
                            <font color="white"><b>Nom</b></font>
                        </td>
                        <td align="center">
                            <font color="white"><b>Prénom</b></font>
                        </td>
                        <td align="center">
                            <font color="white"><b>Contrat</b></font>
                        </td>
                        <td align="center">
                            <font color="white"><b>LV1</b></font>
                        </td>
                        <td align="center">
                            <font color="white"><b><asp:Label ID="lblDate" runat="server" Text="Votre date"/></b></font>
                        </td>
                        <td align="center">
                            <font color="white"><b>Observations</b></font>
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr bgcolor="#FFFFFF">
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "app_lastname") %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "app_firstname") %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "contrat") %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "LV1") %>
                    </td>
                    <td>
                         <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem Selected="True">Présent</asp:ListItem>
                            <asp:ListItem>Absent</asp:ListItem>
                            <asp:ListItem>Retard</asp:ListItem>
                            <asp:ListItem>Dispensé</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:TextBox ID="txtObservation" runat="server" TextMode="MultiLine"/>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr bgcolor="#00CCFF">
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "app_lastname") %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "app_firstname") %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "contrat") %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem, "LV1") %>
                    </td>
                    <td>
                         <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem Selected="True">Présent</asp:ListItem>
                            <asp:ListItem>Absent</asp:ListItem>
                            <asp:ListItem>Retard</asp:ListItem>
                            <asp:ListItem>Dispensé</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:TextBox ID="txtObservation" runat="server" TextMode="MultiLine"/>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
 
                </table>
            </FooterTemplate>
        </asp:Repeater>
Et voici le code behind en C# pour remplir le repeater:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
SqlConnection SqlConn = new SqlConnection("Data Source=PROD006\\SQLEXPRESS;uid=PROD006\\nom-prenom;pwd=******;Initial Catalog='STAGE_PROJET.MDF';Integrated Security=True");
            string SqlCom = "SELECT [Apprenti.app_lastname], [Apprenti.app_firstname], [Apprenti.LV1], [Apprenti.contrat] FROM Vue_Apprenti WHERE ([Classe.group_name] = ' " + GroupList.SelectedItem + " ')";
            SqlDataAdapter SqlDatAd = new SqlDataAdapter(SqlCom, SqlConn);
            DataSet datSet = new DataSet();
            SqlDatAd.Fill(datSet);

            PagedDataSource objPds = new PagedDataSource();
            objPds.DataSource = datSet.Tables[0].DefaultView;
            objPds.AllowPaging = false;

            RptTabApp.DataSource = objPds;
            RptTabApp.DataBind();
il me met l'erreur sur la ligne en rouge biensure...