Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Imports and SqlConnection
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00707445
Message ID:
00707491
Vues:
38
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform