在vs2005中出现"已过时",page.RegisterStartupScript("","");,请问如何
警告 1 “System.Web.UI.Page.RegisterStartupScript(string, string)”已过时:“The recommended alternative is ClientScript.RegisterStartupScript(Type type, string key, string script). http://go.microsoft.com/fwlink/?linkid=14202” C:\Inetpub\wwwroot\BeylandSoft05\BeylandSoft05\BeylandSoft05\BeylandSoft.cs 1245 6 BeylandSoft05
_page.RegisterStartupScript("","<script language='javascript'>alert('文件不存在!');</script>");