I have a listview that displays a set of images with each image having a delete button.
The datakey set on the listview is ID which is of type GUID.
In the code below I want to get the ID of the image (guid) to enable it to be passed to delete method.
What else do I need to doI
protected void ImageList_ItemCommand(object sender, ListViewCommandEventArgs e)
if (String.Equals(e.CommandName, "Delete"))
ListViewDataItem dataItem = (ListViewDataItem)e.Item;