I'm trying to use some logic in my page or code that will allow me to evaluate data and return a different view based on that data.
Here is a sample of logic in Classic ASP:
<% if recordset("field1") = 1 then%>
Some Data
<%end if%>
How do I do that in ASP.NET?
Thanks
...
Go to the complete details ...