• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1959
  • Last Modified:

c# asp net gridview alternative

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
2 Solutions
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.
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:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now