view more software Tips and Tricks
Updated: 11/04/2013 13:11 PM
Author: Shiju Mathews
In Html code we are able to use the c# code and we are able to use .net language controls like if, switch and loops like for, foreach and while.
The c# language code should be place in <% and %>.
In Visual studio create web form called WebForm1.aspx and modify the code in the aspx page and the code behind as follows.
Since the aspx page has no idea about the namespace Import jQuery, we need to import the name space using Import
The web page will display the employee details in a table just like ASP.NET MVC Razor programming.