RIAS
asked on
Count rows count
Hello,
I have a column 'Sel' in datagridview which has values like true/false.
Need to count how many are 'True' and display in a label.
I am using vb.net desktop.
Regards
I have a column 'Sel' in datagridview which has values like true/false.
Need to count how many are 'True' and display in a label.
I am using vb.net desktop.
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello,
Thanks!
The count fairly works but, when the one row is selected it displays no row is selected and count is 0 and when 2 rows are selected (sel =1) it displays one row is selected.
Any suggestion?
Thanks!
The count fairly works but, when the one row is selected it displays no row is selected and count is 0 and when 2 rows are selected (sel =1) it displays one row is selected.
Any suggestion?
ASKER
Worked with dt.acceptchanges !
ASKER