Insert, Update, Delete in DetailsView in ASP.NET

Insert, Update, Delete in DetailsView in ASP.NET


Posted in : ASP.Net Posted on : December 4, 2010 at 6:42 PM Comments : [ 0 ]

In this article we will introduce with how can we Insert, Update, Delete data items in DetailsView in ASP.NET

Insert, Update, Delete in DetailsView in ASP.NET

DetailsView control in ASP.NET is used to display single record at a time. You can insert, update, delete and paging to data items in DetailsView. In this example we use SQLDataSource control for insert, update and delete data items.
You will configure the SQLDataSource and after that click on special tag button of DetailsView. Now checks true for Paging, Inserting, Deleting and Editing.
For this you can see the following image.

DetailsViewInsertUpdateDelete.aspx (Design Page):

DetailsViewInsertUpdateDelete.aspx (source code):

View Source code Click Here

Output:

Download source code
Go to Topic «PreviousHomeNext»

Your Comment:


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

 
Tutorial Topics