Click here to Skip to main content
11,796,774 members (80,930 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 Abhinav S 379
1 OriginalGriff 360
2 Maciej Los 360
3 CPallini 295
4 KrunalRohit 280
0 OriginalGriff 2,032
1 Maciej Los 1,725
2 KrunalRohit 1,310
3 CPallini 1,055
4 ppolymorphe 883

Advertise | Privacy | Mobile
Web01 | 2.8.151002.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