Hola,
Puedes probar algo asi
Código C++:
Ver originalprotected void button_click(object sender, EventArgs e){
ImageButton ibtn1 = sender as ImageButton;
int rowIndex = Convert.ToInt32(ibtn1.Attributes["RowIndex"]);
}
Saludos,
Jason Ulloa
Microsoft Community Contributor