Click here to Skip to main content
16,006,065 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create a desktop application for demo purpose Pin
Ujjaval Modi13-Dec-07 21:49
Ujjaval Modi13-Dec-07 21:49 
GeneralRe: How to create a desktop application for demo purpose Pin
Christian Graus13-Dec-07 21:52
protectorChristian Graus13-Dec-07 21:52 
QuestionC# Pin
lalitkr13-Dec-07 18:18
lalitkr13-Dec-07 18:18 
GeneralRe: C# Pin
Vasudevan Deepak Kumar13-Dec-07 21:31
Vasudevan Deepak Kumar13-Dec-07 21:31 
GeneralRe: C# Pin
Pete O'Hanlon13-Dec-07 22:31
mvePete O'Hanlon13-Dec-07 22:31 
GeneralRe: C# Pin
Paul Conrad23-Dec-07 9:50
professionalPaul Conrad23-Dec-07 9:50 
QuestionHow to add Checkbox in DataGridView column Header Pin
VenkataRamana.Gali13-Dec-07 17:23
VenkataRamana.Gali13-Dec-07 17:23 
AnswerRe: How to add Checkbox in DataGridView column Header Pin
Pankaj - Joshi13-Dec-07 18:04
Pankaj - Joshi13-Dec-07 18:04 
Their is No way to add check box on a header.

But What I suppose you want to give a Check box on header that and on selection of that all the checkboxes of remaining rows are automatically selected right...?

If it is true then do this...

1. Place a check box control on a form.
2. Remove its text and set its position to the column header.
3. On Checked Change event of it write this
<br />
  for (int cnt = 0; cnt <= DataGridView1.Rows.Count - 1; cnt++)<br />
            {<br />
                DataGridView.Rows[cnt].Cells["ColSelect"].Value = true;<br />
            }<br />

Regards
Pankaj Joshi

If you want to shape your dreams into reality, please wake-up...

GeneralPointers problem with unsafe code Pin
chanzeb13-Dec-07 17:21
chanzeb13-Dec-07 17:21 
GeneralRe: Pointers problem with unsafe code Pin
Christian Graus13-Dec-07 17:50
protectorChristian Graus13-Dec-07 17:50 
GeneralRe: Pointers problem with unsafe code Pin
Luc Pattyn13-Dec-07 23:47
sitebuilderLuc Pattyn13-Dec-07 23:47 
GeneralCombining redundant code for implicit type conversions Pin
Skippums13-Dec-07 14:13
Skippums13-Dec-07 14:13 
GeneralRe: Combining redundant code for implicit type conversions Pin
Pete O'Hanlon14-Dec-07 1:34
mvePete O'Hanlon14-Dec-07 1:34 
AnswerRe: Combining redundant code for implicit type conversions Pin
Skippums14-Dec-07 6:06
Skippums14-Dec-07 6:06 
GeneralIs number a power of 2 Pin
#realJSOP13-Dec-07 10:20
professional#realJSOP13-Dec-07 10:20 
GeneralRe: Is number a power of 2 Pin
Christian Graus13-Dec-07 12:08
protectorChristian Graus13-Dec-07 12:08 
GeneralRe: Is number a power of 2 Pin
Luc Pattyn13-Dec-07 12:09
sitebuilderLuc Pattyn13-Dec-07 12:09 
GeneralRe: Is number a power of 2 Pin
Paul Conrad23-Dec-07 9:52
professionalPaul Conrad23-Dec-07 9:52 
GeneralRe: Is number a power of 2 Pin
Judah Gabriel Himango13-Dec-07 12:16
sponsorJudah Gabriel Himango13-Dec-07 12:16 
GeneralRe: Is number a power of 2 Pin
Luc Pattyn13-Dec-07 12:36
sitebuilderLuc Pattyn13-Dec-07 12:36 
GeneralRe: Is number a power of 2 Pin
Judah Gabriel Himango13-Dec-07 12:53
sponsorJudah Gabriel Himango13-Dec-07 12:53 
GeneralRe: Is number a power of 2 Pin
Pete O'Hanlon14-Dec-07 1:00
mvePete O'Hanlon14-Dec-07 1:00 
GeneralCheckBox selection in DataGridView.. Pin
sribachana13-Dec-07 9:29
sribachana13-Dec-07 9:29 
GeneralRe: CheckBox selection in DataGridView.. Pin
Pankaj - Joshi13-Dec-07 18:12
Pankaj - Joshi13-Dec-07 18:12 
GeneralEvent Handler in a control Pin
Stephen McAllister13-Dec-07 9:18
Stephen McAllister13-Dec-07 9:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.