方案一

((LinkButton)e.Row.Cells[2].Controls[0]).Attributes.Add("onclick""javascript:return confirm('确认要删除信息主题:\"" + e.Row.Cells[1].Text + "\"吗?')"); 
btnDelete.Attributes.Add("onclick""Javascript:return window.confirm('Sure you want to delete?')"); 
方案二
 ClientScript.RegisterStartupScript(Page.GetType(), """<script>rdoCk('rdoWhere" + Request["num"] + "');alert('Update Successful!');</script>");
方案三
Response.Write("<script>alert('hhhh')</script>");  

相关文章:

  • 2021-11-27
  • 2022-12-23
  • 2021-09-19
  • 2021-09-19
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-07-13
  • 2021-06-25
  • 2021-10-29
相关资源
相似解决方案