Solved

c# asp net gridview alternative

Posted on 2010-11-08
2
1,603 Views
Last Modified: 2012-05-10
i have a gridview (approx 50 rows per day) which has four columns to of which are check boxes. The check boxes are linked to a table in a sql db

I have this working however as i have to wait for the postback on each check box it takes ages to update. I want to be able to let the user makes there selections and then click an update button which will do it all in one update.

Ive only used gridviews and im looking for some guidence possibly examples on an alternative method
0
Comment
Question by:LBGUC04
2 Comments
 
LVL 9

Assisted Solution

by:puru1981
puru1981 earned 25 total points
ID: 34086977
this will be easy. you need to stop the RowCommand or RowUpdating Event which ever is implemented.

After that you need to iterate through the gridview and update the changes.
0
 
LVL 41

Accepted Solution

by:
guru_sami earned 475 total points
ID: 34088165
As mentioned by puru1981 you will need to iterate through each gridviewrow
Place the button outside of GV and iterate upon it's click event like shown here:
http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question