This is a beginners question - sorry in advance if it is a bad question...
In classic ASP you could put script into the html to change what HTML is shown.
E.G. If I want to show one table if a querystring equals acertain value and another table if the querystring equals someother value - i could do this...
<% an if statement %>
some html
<% an else statement %>
some other html
Can you do this style of thing in ASP.net?
Or is it considered bad (or not possible).
I'm basically trying to avoid having separate pages for an input form to a DB and a display form from the DB
Thanks in advance
In classic ASP you could put script into the html to change what HTML is shown.
E.G. If I want to show one table if a querystring equals acertain value and another table if the querystring equals someother value - i could do this...
<% an if statement %>
some html
<% an else statement %>
some other html
Can you do this style of thing in ASP.net?
Or is it considered bad (or not possible).
I'm basically trying to avoid having separate pages for an input form to a DB and a display form from the DB
Thanks in advance