CodeSnip: How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView
page 1 of 6
Published: 19 Sep 2006
Abstract
In this sample Sushila demonstrates how to select record(s), and based on the checkbox values checked/unchecked status, delete the record(s) on confirmation.
by Sushila Bowalekar Patel
Feedback
Average Rating: 
Views (Total / Last 10 Days): 89995/ 174

Introduction

We come across situations where we have to select/deselect multiple records or delete them once the user gives confirmation.  This can be done in various ways and using various Data Controls provided in ASP.NET.  For our sample we will use the GridView control. 


View Entire Article

User Comments

Title: Make invisible not delete   
Name: Harry Hawk
Date: 5/16/2007 8:26:40 AM
Comment:
Hi,

Great, but I am trying to make the row invisible not delete from the database, I'm programming in c#, thanks
Title: How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView   
Name: PSteves
Date: 5/4/2007 8:34:09 AM
Comment:
Great article! I've used your technique over and over!

Thanks!
Title: Not so good..   
Name: Pelle
Date: 5/3/2007 10:45:37 AM
Comment:
If you have more checkboxes on the same page - these are also affected.
Title: asp.net   
Name: shivaraya
Date: 4/24/2007 9:16:09 AM
Comment:
this is very nice code.
Title: problem in delete   
Name: virat patel
Date: 3/27/2007 4:38:21 AM
Comment:
thsi code is very help ful for me.
but when i m binding the gridview using dataset and try ur code than i have the problem when i delete the checked record...
it show that no one row is checked in gridview....
help....
Title: ASP.NET   
Name: Gopesh
Date: 3/12/2007 5:39:09 AM
Comment:
Thanks! This article is very useful for all the applications using grids with checkboxes. The great thing is that the code is perfectly working. Thanks Again.
Title: asp.net   
Name: Muhammad Imran Khan
Date: 2/27/2007 4:37:26 AM
Comment:
hahahaha,...... very nice.... good article.....solved my problem...............i like u man .... u is this.......................love you
Title: asp.net   
Name: Roshan Joshi
Date: 2/23/2007 6:41:04 AM
Comment:
First of all thanks sushila .....dear u have provided a great code which is used by every asp.net programmer in developing a project.......great efforts......
Title: check box in gridview   
Name: Kinjal
Date: 2/7/2007 3:53:21 AM
Comment:
gr8 example find that i can used in my application
Title: asp.net   
Name: hyder
Date: 1/23/2007 5:29:02 AM
Comment:
Extermely useful article.
Title: How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView   
Name: Felicia
Date: 12/14/2006 12:01:30 AM
Comment:
It works! That is wonderfully awesome!
Title: Sir   
Name: Sem Göksu
Date: 12/12/2006 3:44:43 AM
Comment:
This article is perfect and useful.Thank you !
Title: How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView   
Name: ReddySekhar
Date: 12/5/2006 3:01:00 AM
Comment:
This article is really super.
it is very helpfull for deleting and the records in gridview using checkboxes.
thankq sushila
Title: CodeSnip: How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView   
Name: pardhu
Date: 11/29/2006 5:48:22 AM
Comment:
thanku sushila
for writing a useful article.
Title: Article Feedback   
Name: secvae
Date: 11/21/2006 2:37:04 AM
Comment:
How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView.
Title: Thank You   
Name: Saranyan
Date: 10/26/2006 7:16:29 AM
Comment:
This task is asked in an interview.I got the solution here.Thanks a Lot.
Title: ASP.NET   
Name: Mr.Devil
Date: 10/19/2006 7:41:37 PM
Comment:
Very useful article, thank you!
:)
Title: How to Select Record(s) Using Checkboxes and Delete on Confirmation in GridView   
Name: mital
Date: 10/19/2006 8:49:15 AM
Comment:
very good
Title: Nice   
Name: Gurpreet S. Gill
Date: 9/30/2006 7:22:57 AM
Comment:
hi "Sushila Bowalekar Patel"....
Gr8 job.
Title: asp.net   
Name: abhijit
Date: 9/26/2006 12:32:51 AM
Comment:
very good

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2014 ASPAlliance.com  |  Page Processed at 11/26/2014 11:03:56 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search