Hi.
For those of you with some knowledge of C#, I am wondering why "<% value %>" is causing so many problems when i am trying to translate a VBScript to C#. For example, what would
src="project/navBar.asp?url=<%=Server.URLEncode(Request.QueryString("url"))%>"
look like translated to C#? The compiler keeps telling me
that
"I need to quote values differently inside a <%..value..%>
block"
Is there a dot Net translation for this block that i am not aware of?
Thanks in advance.
Peter
For those of you with some knowledge of C#, I am wondering why "<% value %>" is causing so many problems when i am trying to translate a VBScript to C#. For example, what would
src="project/navBar.asp?url=<%=Server.URLEncode(Request.QueryString("url"))%>"
look like translated to C#? The compiler keeps telling me
that
"I need to quote values differently inside a <%..value..%>
block"
Is there a dot Net translation for this block that i am not aware of?
Thanks in advance.
Peter