Click here to Skip to main content
11,798,280 members (75,997 online)
Click here to Skip to main content

Edit and Delete multiple Data in DataGrid in ASP.NET

, 18 Apr 2007 83.6K 2.3K 41
Rate this:
Please Sign up or sign in to vote.
Edit and Delete multiple Data in DataGrid in ASP.NET

Download - 22.7 KB

Screenshot - datagrid2.jpg

Screenshot - editGrid.jpg


I found it very common assignment to make a datagrid with multiple deletion option like HOTMAIL ..and that inspires me to write this code.Here is the code for editing and deleting multiple data with datagrid.


(Optional) Is there any background to this article that may be useful such as an introduction to the basic ideas presented?

Using the code

To use this code just unzip the file as I have not attached the whole project file so you need to add the pages in your project. and some modification as you always need.

Blocks of code should be set as style "Formatted" like this:

// Any source code blocks look like this
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.OleDb;
using System.Configuration;

namespace DelhiApp.Testing
    /// <span class="code-SummaryComment"><summary>

Remember to set the Language of your code snippet using the Language dropdown.

Use the "var" button to to wrap Variable or class names in <code> tags like this.

Points of Interest

Did you learn anything interesting/fun/annoying while writing the code? Did you do anything particularly clever or wild or zany?


Keep a running update of any changes or improvements you've made here.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer TATA Communications
India India
No Biography provided

You may also be interested in...

Comments and Discussions

Questionstoring webform data in pdf file in Pin
Rambabukasiboina2-Aug-07 4:22
memberRambabukasiboina2-Aug-07 4:22 
How can i store the user data in pdf formatted file in my local system with vb code.please send me the answer it's very important to me. is that possible in


AnswerRe: storing webform data in pdf file in Pin
rahul_bit2-Aug-07 19:07
memberrahul_bit2-Aug-07 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151002.1 | Last Updated 19 Apr 2007
Article Copyright 2007 by rahul_bit
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid