62,064
社区成员
发帖
与我相关
我的任务
分享
//设置CheckBox的Click
CheckBox ck = (CheckBox)e.Row.Cells[0].FindControl("CheckBox1");
ck.Attributes.Add("onclick", "js1()");
//设置其他单元格的Click
e.Row.Cells[1].Attributes.Add("onclick", "js2()");
e.Row.Cells[2].Attributes.Add("onclick", "js2()");
e.Row.Cells[3].Attributes.Add("onclick", "js2()");
//.....