110,534
社区成员
发帖
与我相关
我的任务
分享
<asp:ButtonField ButtonType="Button" Text="发送" CommandName="send"/>
protected void grid1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "send")
{
grid1.DataSource = sendinfos;
grid1.DataBind();
int index = Convert.ToInt32(e.CommandArgument);
grid1.Rows[index].Cells[11].Visible = false;
//Response.Write("<script language=javascript>alert( '执行完毕!'); }
}