var button = sender as Button; var dataListItem = button.NamingContainer as DataListItem; int id = Convert.ToInt32(dlCategories.DataKeys[dataListItem.ItemIndex]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)