dotNET is all about code on top, HTML and web controls at the bottom, this is fine for pure white type websites, what about web sites that need to have a fair amount of graphics?
How do I do this in VB.NET: [... Welcome: Request.Cookies("Cookie")("Key") ...]
What about this: [... You are <%= dOld %> days older ...]
I have read somewhere that this new dotNET style of seperation of code and presentation is a major improvement, how so? It lacks the flexibility if of ASP.
Can someone tell me how you do your development on a web site with some surrounding graphics?
Thanks.You can still do inline coding and separate the code and presentation - - it's just a different way to do it
What you'd do is put an ASP.Net Label server control where you want the message to be (on the page).
Then, in the Page_Load Event, you could assign whatever you'd like to the text property of that label:
label1.text = Welcome: Request.Cookies("Cookie")("Key")
Take a look atASPNet101.com - there are a lot of code samples and tutorials to get you started on your way...
Thx, yes, it's a whole new approach, I guess I have to adapt if I want to continue dotNETing.
By the way, this topic is not listed in the public view area, I guess you keept it private.
Thanks once again.
0 comments:
Post a Comment