I make a ShopingBox

How can i have ProductId(coming from SQL Query) in Codebehind when i click on the imagebutton ?