GridView - How to select a row programmatically using a checkbox


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: GridView - How to select a row programmatically using a checkbox

  1. #1
    Join Date
    Feb 2006
    Posts
    19

    GridView - How to select a row programmatically using a checkbox

    Just wondering if anybody knows how to select a GridView row programmtically using a checkbox in the row using C#

    Thanks!
    Last edited by clean; 06-02-2006 at 02:01 PM.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    In response to the CellContentClick event for the check box column, set the row's Selected property to true using the RowIndex provided in the CellContentClick event.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 0
    Last Post: 08-15-2005, 01:00 AM
  2. Get 10 months forward with select statment
    By Nirit Touboul in forum Database
    Replies: 7
    Last Post: 02-25-2001, 12:34 PM
  3. Stored Procedure (Want looping in Cursor)
    By malikmehmood in forum Database
    Replies: 0
    Last Post: 11-20-2000, 06:12 AM
  4. select from a runtime checkbox list
    By Deb in forum VB Classic
    Replies: 0
    Last Post: 08-31-2000, 12:25 PM
  5. Replies: 2
    Last Post: 04-13-2000, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center