joe_pool_is
Well-known member
With this in my code at the top of the page:
,my old, Classic ASP site uses this:
How do I do this in ASP.NET?
"str1Err" is still defined in the ASP.NET version, but it seems to be out of scope. Could someone show me the way?
I tried this:
but then I get that Response is not declared.
Using VS2005 Professional.
Thanks.
Code:
Dim str1Err = "This is required."
Code:
<span><%Response.Write(str1Err)%>
"str1Err" is still defined in the ASP.NET version, but it seems to be out of scope. Could someone show me the way?
I tried this:
Code:
<span><script runat="server" type="text/VB">Response.Write(str1Err)</script>
Using VS2005 Professional.
Thanks.