title: use javascript through vb.net
body: <p>i want to write message through  ScriptManager.RegisterStartupScript method . but am getting error in this statement.</p>
  
  <pre><code>my code
  -------
  ScriptManager.RegisterStartupScript(Me, Me.GetType, "temp", ("&lt;script language='javascript'&gt;alert(' No data in the database  ');&lt;/script&gt;")), 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'.  
  </code></pre>
  
  <p>Help me to correct the problem. am new to javascript</p>