Sunday, May 6, 2012

Tuesday, April 17, 2012

How to display confirmation box in DetailsView

How to display confirmation box in DetailsView

For the details view, you need to add the event on DataBound event so that when the data is getting binded with the item, the event will be attached with the item. 

See the below code which will be helpful for you. 

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