For Example the image button CommandName "Item".
Click on ItemCommand property of DataList to create a protected void. Fill the protected void as follows.
if (e.CommandName == "Item")
{
Label label1 = (Label)DataList1.Items[e.Item.ItemIndex].FindControl("Label1");
string labelValue= label1.Text;
}
I hope the above information will be helpful. If you have more concerns, please let me know.