Click here to Skip to main content
11,633,454 members (78,264 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0

I have checkbox in my gridview,I wanna select or deselect all checkbox at a time on window form in C#
Posted 24-Jun-13 5:16am
stibee at 24-Jun-13 11:24am
1989priya at 24-Jun-13 11:29am
WPF means?
Nelek at 24-Jun-13 11:35am
it means you need to learn more. WPF = Windows_Presentation_Foundation[^]
He is asking you (in other words) in which context are you using your gridview.

I recommend you to read: What have you tried?[^]
ThePhantomUpvoter at 24-Jun-13 11:37am
Exactly, what have you tried? "I wanna" is not a question or a description of any kind of a problem.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Solution in WinForms: [Your gridname].ClearSelection()[^]

Solution in WPF: [Your gridname].UnselectAll()[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 8,618
1 Sergey Alexandrovich Kryukov 8,189
2 Mika Wendelius 6,415
3 F-ES Sitecore 2,321
4 Suvendu Shekhar Giri 2,075

Advertise | Privacy | Mobile
Web03 | 2.8.150728.1 | Last Updated 24 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100