ヘッダーテンプレート内のデータバインドされたリピーターのフィールドヘッダー名にアクセスする方法はありますか。だから、それはデータバインディングのシナリオではないので、あなたはHeaderTemplateに<%# %>
構文を使用することはできません.NET Repeater HeaderTemplate
<HeaderTemplate>
<table >
<th ></th>
<th >Forename</th>
<th >Surname</th>
<th >work email</th>
<th ></th>
</HeaderTemplate>
We get something like this.
<HeaderTemplate>
<table >
<th ></th>
<th ><%# Eval("Forename").HeaderName%></th>
<th ><%# Eval("SureName").HeaderName%></th>
<th ><%# Eval("WorkEmail").HeaderName%></th>
<th ></th>
</HeaderTemplate>
これは私が探していた情報でした。ありがとう! – Oliver