<asp:HyperLinkField DataNavigateUrlFields="id,address"
DataNavigateUrlFormatString="list.aspx?id={0}&add={1}"
HeaderText="简单链接" Text="简单链接" />
--------------------------------------------------------------------------------------
<ItemTemplate>
<asp:LinkButton ID="LinkButton1" OnClientClick=<%# "window.open('list.aspx?id=" + Eval("id") + "&add=" + Eval("address") + "')" %> runat="server">linkbutton链接方式</asp:LinkButton>
</ItemTemplate>
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" NavigateUrl='<%# "~/list.aspx?id=" + Eval("id") + "&add=" + Eval("address") %>' runat="server">HyperLink</asp:HyperLink>
</ItemTemplate>
<ItemTemplate>
<a href='<%# "list.aspx?id=" + Eval("id") + "&add=" + Eval("address") %>'>a标签:<%# Eval("id") + ":" + Eval("address")%></a>
</ItemTemplate>