Author: psycrow | Posted on: 8/6/2008 6:09:10 AM | Views : 315

 hi,
 I'm creating a list of products where theres a buy button. Now what I need is when I click the button, it will retrieve the  datakey. I was able to retrieve how many datakeys are in my datalist but how will i retrieve the datakey of the button that is clicked. Here is my html code.
  
1 <asp:DataList ID="DataList1" runat="server" RepeatColumns="1" RepeatDirection="Horizontal"
2 EnableTheming="True" Width="500px" DataSourceID=Go to the complete details ...