picture.Click += this.PictureClick;
pictureBoxList.Add(picture);
you can create event as below
private void PictureClick(object sender, EventArgs e) {
PictureBox oPictureBox = (PictureBox)sender;
string c_CatName = oPictureBox.Name;
}
if you have some other unique key column, try using
Tag[
^] property of PictureBox and set it as the unique key value, then you can get it inside event handler and take the details from datatable based on that unique key.