Solved

c# asp net gridview alternative

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 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