Solved

c# asp net gridview alternative

Posted on 2010-11-08
2
1,516 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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now