当时在2003时可以使用,现在换成vs2008了 显示出错。如何修改啊Page.RegisterStartupScript("showmsg", "<script language=javascript>alert('标题不能为空!');</" & "script>")如何改写,