.net gridview & link button

They have: 330 posts

Joined: Apr 2000

I have a gridview that is pulling from a SQLDataSource. I need to create a field that links to another URL with the person's ID in the querystring. This must be simple, but I can't figure it out.

Here is what I have that is obviously not working.

...
            <asp:TemplateField
                HeaderText="Profile">
           
                <ItemTemplate>
                    <asp:LinkButton
                        ID="lbProfile"
                        runat="server"
                        Text="Profile"
                        PostBackUrl="~/Admin/EmployeeSearch.aspx?Find=" + <%# Eval("ID") %> />
                </ItemTemplate>
           
            </asp:TemplateField>
...
'