我想寫信息通過ScriptManager.RegisterStartupScript方法。但在這個聲明中出現錯誤。使用JavaScript通過vb.net
my code
-------
ScriptManager.RegisterStartupScript(Me, Me.GetType, "temp", ("<script language='javascript'>alert(' No data in the database ');</script>")), False)
error(in particular position)
-----
, False) error - end of the statement expected
scriptmanager Error 'System.Web.UI.Page.Friend ReadOnly Property ScriptManager As System.Web.UI.IScriptManager' is not accessible in this context because it is 'Friend'.
幫我解決問題。我新的JavaScript
am使用vb.net。請幫助我在vb.net中轉換它 – vps