string stemp = ((GridView)sender).Rows[e.RowIndex].Cells[4].Text.ToString();
((LinkButton)e.Row.Cells[6].Controls[0]).Attributes.Add("onclick", "javascript:return confirm('"确实要删除标题ID为:"+'"+stemp+"'+"的记录吗?"')");
我怎样把stemp的值传到我这弹出的对话框中啊?我忘了该怎么写了?晕死~
((LinkButton)e.Row.Cells[6].Controls[0]).Attributes.Add("onclick", "javascript:return confirm('"确实要删除标题ID为:"+'"+stemp+"'+"的记录吗?"')");
我怎样把stemp的值传到我这弹出的对话框中啊?我忘了该怎么写了?晕死~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货