<asp:ImageButton id=ib runat=server CommandName="me" CommandArgument="imageButton
/>..
void Grid_ItemCommand(Object sender, DataGridCommandEventArgs e)
{
ImageButton ib = (ImageButton)e.CommandSource;
Response.Write(ib.CommandName);
//or
//ImageButton ib = (ImageButton)e.Item.FindControl("ib");
}
/>..
void Grid_ItemCommand(Object sender, DataGridCommandEventArgs e)
{
ImageButton ib = (ImageButton)e.CommandSource;
Response.Write(ib.CommandName);
//or
//ImageButton ib = (ImageButton)e.Item.FindControl("ib");
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货