Solved

c# asp net gridview alternative

Posted on 2010-11-08
2
1,634 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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