borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (SqlConnection in ASP.Net)Next Topic (Sound in a form) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : how to detect how many check box is checked on a particular column of datagrid?
Poster Message
tri_inn
Level: Regular User
Registered: 26-08-2002
Posts: 395

icon how to detect how many check box is checked on a particular column of datagrid?

say suppose there is 20 rows and two column in my datagrid and on the 2nd column having full of check boxes and i want to detect in loop, which check boxes are checked on 2nd column of datgrid. i think it is possible but now i dont know the way so please tell in detail with sample code.

03-12-2003 at 01:17 PM
View Profile Send Email to User Show All Posts | Quote Reply
thirumalaicb
Level: Sage

Registered: 09-09-2003
Posts: 51
icon Re: how to detect how many check box is checked on a particular column of datagrid?

hi

since the column contains check boxes, it is of the type boolean. u can filter the recordset for the values having only checks. and from the loop u can manipulate it. as i am vb 6.0 programmer, i could tell u only the concept. if u want the code in vb 6.0 here it is

rs.filter "colname=true"
do while
_______
______
loop

____________________________
Life is at Stake; Make the most out of it!

10-01-2004 at 02:57 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : how to detect how many check box is checked on a particular column of datagrid?
Previous Topic (SqlConnection in ASP.Net)Next Topic (Sound in a form) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder