ASP Programming Question?

Alexia

New member
I usually work in php, and pretty much know nothing about asp. So I have an .aspx file and I want it to insert a file lets say header1.ascx

custom.aspx?id=1 if id is between say 1 and 4, if id is between 5-8 I want it to display header2.ascx and say 9-12 header3 and then else it displays header4.ascx

is it possible to do something like that in asp like it is in php? I have tried searching online and Im not finding anything I can understand... I did find a code that inserted a header for me, but I cant figure out the if statement
Do you have the code for it or a link to an example?
 
Back
Top