i m 使用 ASP.NET, 我有一个网格视图, 我需要在每个标题栏中加一个标题, 标题将显示在 moseover. htm 。 需要我将字段转换为模板字段吗?
有些事情是这样的:
<asp:BoundField DataField="ID_Dossier" HeaderText="ID_Dossier" ReadOnly="True"
SortExpression="ID_Dossier" title="Trier par identifiant des dossiers " />
这是我的网友:
<asp:GridView ID="DossierGV" runat="server" AllowPaging="True"
AllowSorting="True" DataSourceID="DossierPF" AutoGenerateColumns="False"
DataKeyNames="ID_Dossier">
<Columns>
<asp:TemplateField ShowHeader="False" >
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False"
CommandName="Select" Text="Ajouter" title="Ajouter les information de finance aux ce dossier"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="ID_Dossier" HeaderText="ID_Dossier" ReadOnly="True"
SortExpression="ID_Dossier" title="Trier par identifiant des dossiers " />
<asp:BoundField DataField="ID_Entreprise" HeaderText="ID_Entreprise"
SortExpression="ID_Entreprise" />
<asp:BoundField DataField="Date_Depot" HeaderText="Date_Depot"
SortExpression="Date_Depot" />
<asp:BoundField DataField="Type_Etude" HeaderText="Type_Etude"
SortExpression="Type_Etude" />
<asp:BoundField DataField="Dernier_Type" HeaderText="Dernier_Type"
SortExpression="Dernier_Type" />
<asp:BoundField DataField="Eligibile" HeaderText="Eligibile"
SortExpression="Eligibile" />
<asp:BoundField DataField="Fiche_Information" HeaderText="Fiche_Information"
/>
<asp:BoundField DataField="Buletin_Adhesion" HeaderText="Buletin_Adhesion"
/>
<asp:BoundField DataField="Fiche_Renseignment" HeaderText="Fiche_Renseignment"
/>
<asp:BoundField DataField="Attestation" HeaderText="Attestation"
/>
<asp:BoundField DataField="ID_Cabinet" HeaderText="ID_Cabinet"
SortExpression="ID_Cabinet" />
<asp:BoundField DataField="Montant_Demander" HeaderText="Montant_Demander"
SortExpression="Montant_Demander" />
<asp:BoundField DataField="Duree" HeaderText="Duree" SortExpression="Duree" />
<asp:BoundField DataField="Porcentage_Taux" HeaderText="Porcentage_Taux"
SortExpression="Porcentage_Taux" />
<asp:BoundField DataField="Nom_Giac" HeaderText="Nom_Giac"
SortExpression="Nom_Giac" />
</Columns>
</asp:GridView>