<script language="vb" runat="server">
Protected Sub Page_Load(sender As Object, e As System.EventArgs)
Dim message As String = "Hello! Mudassar."
Dim sb As New System.Text.StringBuilder()
sb.Append("<script type = 'text/javascript'>")
sb.Append("window.onload=function(){")
sb.Append("alert('")
sb.Append(message)
sb.Append("')};")
sb.Append("</script>") 'this end tag, consider end tag from <script language="vb" runat="server">
ClientScript.RegisterClientScriptBlock(Me.GetType(), "alert", sb.ToString())
End Sub
</script> 'while the end tag, display a description that: This end tag has no matching start tag.
Note
coding < ...
Go to the complete details ...