nikitha m
<asp:LinkButton ID="lnk_btn" runat ="server" CommandArgument='<%#Eval("id")%>' CommandName ="productid" Text ='<%#Eval ("productname") %>'> </asp:LinkButton>
try this