Anu is correct, however your variable placement is incorrect.
<script language="
VB" runat="server">
Public userID as string = ""
Private Sub Page_Load(ByVal sender as Object, e as EventArgs)
'Do Something
End Sub
</script>
<%=userID%>
Personally, this is to "Classic ASP" for me. I would set the Value to a label, or something similiar, with this text as opposed to the method you are using.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========