我正在使用 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 个不同的网页之一。我在 Visual Studio 2010 中使用 C#。任何帮助将不胜感激。