列を表示するためにboundfieldを使用しています:
<Columns>
<asp:BoundField DataField=”AccountCode” HeaderText=”Account Code”>
<ItemStyle Font-Size=”Large” />
</asp:BoundField>
<asp:BoundField DataField=”AccountName” HeaderText=”Account Name”
FooterText=”Enter Footer Text”>
<FooterStyle CssClass=”FooterStyle” />
</asp:BoundField >
<asp:BoundField DataField=”Type” HeaderText=”Account Type” />
私は 4 種類のアカウント (a、b、c、または d) を持っています。4 つの異なるアカウント タイプに基づいてアカウント タイプ列をハイパーリンクしたいと思います。基本的に、選択したアカウントの種類に応じて、4 つの異なる Web ページのいずれかにリンクしたいと考えています。Visual Studio 2010 で C# を使用しています。