Tuesday, April 17, 2012

How to Bind a DropDownlist in MVC Application.

How to Bind a DropDownlist in MVC Application.

(1) First open MVC Project or Create New Project choose ASP.NET MVC 2 web app 

(2) Add New Item in Model folder, Right click in Solutions Explorer Model folder >Add New Item Choose ADO.NET Entity Data Model through wizard add the database and table in your application and then