D
Demetri
Lets say I want the page to build a certain way based on a
querystring value and I need to do it within the HTML
(aspx not cs file).
In classic asp using vb I could do something like:
<%if request.querystring("msg") = "hello"%>
<div>Hello world</div>
<%else%>
<div>No message</div>
<%end if%>
What would be the equivalent (translate it) of that in C#?
querystring value and I need to do it within the HTML
(aspx not cs file).
In classic asp using vb I could do something like:
<%if request.querystring("msg") = "hello"%>
<div>Hello world</div>
<%else%>
<div>No message</div>
<%end if%>
What would be the equivalent (translate it) of that in C#?