Populate DropDownList using ASP.NET MVC Razor
Step1: Create new project. Step 2. Create controller 'PopulateUsing_Code' in controller folder. Note: SelectList create a list of items where user can select one item out of them. using System; using System.Collections.Generic; using System.Linq; using...
Simple example of ASP.NET MVC App
Step1 : Create Model Class - Right click on models folder and add class , give its name Employee using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace FirstExample.Models { public class Employee { public int empid { get; set;...
ASP.NET MVC Introduction
What Is ASP.NET MVC? The Microsoft ASP.NET MVC framework is Microsoft’s newest framework for building web applications. The ASP.NET MVC framework was created to support pattern-based software development. In other words, the framework was designed to make it easier to...
HTML Manipulation using Jquery
HTML Manipulation jQuery contains powerful methods for changing and manipulating HTML elements and attributes. It is also called DOM manipulation. It’s a very useful feature to build interactive application. Getting and Setting Inner Content alert("HTML: " +...