>>I haven't been able to think of a reason why one would be any better than the other, especially if you used VS.NET.
>Really? I thought the code-behind page helped you separate the VB code from the HTML, making it easier to read. Wasn't that a problem with classic ASP?
Your code can be seperate from your HTML when the code is in the page too. In classic ASP, your code was inside the HTML like this:
< % if something then % >
Something
< % else % >
Something Else
< % endif % >
In ASP.NET, you can do something like this:
myLabel.Text = "Something"
Whether that line of code is in the Code Behind, or in the SCRIPT section of the HTML HEADER section (I think thats where it goes, not positive), its still nicely seperated from the real HTML.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only