Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Imports and SqlConnection
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00707445
Message ID:
00707491
Views:
37
>>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
Map
View

Click here to load this message in the networking platform