Button1.Attributes.Add("onclick","return confirm('您真的要删除吗?');"); 转载于:https://www.cnblogs.com/ewdragon/archive/2006/02/13/329596.html