469,613 Members | 1,503 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

Need help with hyperlinkfield in gridview

Hi all,

For some weird reason my hyperlinkfield does not work.

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
>
<Columns>
<asp:HyperLinkField DataTextField="batchid" DataNavigateUrlFields="batchid" DataNavigateUrlFormatString="ViewUserAccount.aspx? id={0}"/>


I am trying to generate a gridview with hyperlink column and when I click the coloumn it should transfer to another page with the value(batchid) of the column.

For somereason Its not working.

Please respond if you know what should be done.

Thanks
Mithun
Jul 31 '07 #1
0 1109

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by pargat.singh | last post: by
1 post views Thread by pargat.singh | last post: by
1 post views Thread by brian.newman | last post: by
reply views Thread by doomsday123 | last post: by
1 post views Thread by =?Utf-8?B?UGV0ZXI=?= | last post: by
2 posts views Thread by Tor Inge Rislaa | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.