Home > ASP.NET > Basics    

CodeBehind

While our first example was fine, we unfortunately broke one of the coding principles of ASP.NET: To separate markup and code. As you noticed, we added a scripting block (using <% %>), where we wrote a line of C# code to use the label.

Tutorial by asp.net-tutorials.com
Rating : 3 Stars
Viewed: 1 Times
Added on: 1/3/2011
(Opens in new window)

If you liked the tutorial, rate the tutorial.

 
RECOMMENDED WEB HOSTING
Arvixe Web Hosting