Click here to Skip to main content
13,052,696 members (65,835 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 24-Jun-13 11:24am
1989priya 24-Jun-13 11:29am
WPF means?
Nelek 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Jun 2013
Copyright © CodeProject, 1999-2017
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