Winston
Junior Contributor
I've been wondering some sites who uses asp.net have just one single page
like main.aspx, that's it, and they use query strings like ?page=about
my question is, how do u implement this in asp.net and how does it work in general, like is it just one .aspx file ur dealing with and u populate the page based on what the query string is? :S... like is this a feasible way of implementing i mean what about static contents which remain the same at times, for example the about page or contact page.
Wouldn't you have a big switch/case statement?
select case page
case "about"
'dynamically load contents..
end select
is that how it works?
please give me some insigt into this way of implementing sites, thank you
like main.aspx, that's it, and they use query strings like ?page=about
my question is, how do u implement this in asp.net and how does it work in general, like is it just one .aspx file ur dealing with and u populate the page based on what the query string is? :S... like is this a feasible way of implementing i mean what about static contents which remain the same at times, for example the about page or contact page.
Wouldn't you have a big switch/case statement?
select case page
case "about"
'dynamically load contents..
end select
is that how it works?
please give me some insigt into this way of implementing sites, thank you