Hi ,
Check this
<asp:GridView ID="GridView1" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="btnSelect1" CommandName="Select" CommandArgument='<%#Eval("Name") %>'
Text='<%#Eval("Name") %>' runat="server" OnClientClick="CloseWithArg(this);return false;"
onclick="btnSelect_Click" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
By the way it will not work out side the context of databound
Best Regards
M.Mitwalli