在ASP.NET中,点击按钮以后,能关闭当前窗口,代码该怎么写。我菜鸟,谢谢你的回答!
------解决方案--------------------------------------------------------
<input id= "Button1 " type= "button " value= "button " onclick= "window.close(); " />
------解决方案--------------------------------------------------------
如果是html控件
<input type= 'button ' name= '关闭 ' onclick= "javascript:window.close(); "/>