Author: aspnoobe | Posted on: 11/11/2009 7:38:24 PM | Views : 351

How do I ask how to run multiple if, else statements that call different includes by the date?
I am an asp.net noob, with most of my experience being in php and jquery. I don't think that what I am trying to achieve is very advanced, but I am not sure how to ask my question because I really do not understand the asp language.
My goal is to have a set number of includes that are called by date.
Basically
if today = 11/11/2009, include thisfile.aspx
if today = 11/12/2009, include thisotherfile.aspx


So far, I am able to get the system date to display using
<script runat="server">
Sub Page_Load
lbl1.Text= now()
End Sub
</script>
<form runat="server">
<h3><asp:label id="lbl1" runat="server"  /></h3>
</form>
(I don't know how good this solution is for displaying the date, but I've tried about ...

Go to the complete details ...