get datakey from datalist

 


use e.Item.ItemIndex to get the index of the item

dlstProducts.DataKeys[e.Item.ItemIndex]

also, any particular reason you are using ToInt16 instead of 32?

Karl