use this code
<form id="form1" runat="server">
<div>
<asp:DataList ID="DataList1" runat="server">
<ItemTemplate>
<asp:Label runat="server" ID="lbl" Text='<%#Eval("idProduct") %>'></asp:Label>
<pre><asp:Button runat="server" ID="btn" Text='select' commandname="Pro" commandargument='<%#Eval("idProduct") %>' onclick="btn_Click"/>
</ItemTemplate>
</asp:DataList>
</div>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</form>
protected void datalist_itemcommand(object sender, EventArgs e)
{
if(e.commandname=="Pro")
{
string product=e.commandargument.tostring();
Session["idProduct"] = product;
}
}
<pre></pre>