Click here to Skip to main content
15,894,405 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionDataGridView CheckBox issue! Pin
pashitech30-Jun-07 6:29
pashitech30-Jun-07 6:29 
AnswerRe: DataGridView CheckBox issue! Pin
RepliCrux1-Jul-07 13:51
RepliCrux1-Jul-07 13:51 
GeneralRe: DataGridView CheckBox issue! Pin
pashitech1-Jul-07 17:06
pashitech1-Jul-07 17:06 
GeneralRe: DataGridView CheckBox issue! Pin
RepliCrux1-Jul-07 17:46
RepliCrux1-Jul-07 17:46 
GeneralRe: DataGridView CheckBox issue! Pin
pashitech1-Jul-07 18:23
pashitech1-Jul-07 18:23 
GeneralRe: DataGridView CheckBox issue! Pin
RepliCrux1-Jul-07 18:39
RepliCrux1-Jul-07 18:39 
GeneralRe: DataGridView CheckBox issue! Pin
pashitech3-Jul-07 3:47
pashitech3-Jul-07 3:47 
GeneralRe: DataGridView CheckBox issue! Pin
RepliCrux3-Jul-07 12:49
RepliCrux3-Jul-07 12:49 
Hi Prashanth,

The code I gave you was for your understanding how to catch the event when you click on the checkbox cell.

For Each column As DataGridViewColumn In DataGridView1.Columns
If column.CellType Is GetType(DataGridViewCheckBoxCell) Then

Dim chkCell As DataGridViewCheckBoxCell = CType(DataGridView1.Rows(e.RowIndex).Cells(0), DataGridViewCheckBoxCell)
If CType(chkCell.EditingCellFormattedValue, Boolean) = True Then
MessageBox.Show("Yes")
Else
MessageBox.Show("No")
End If

End If
Next

This works for me, cheers
Questionchenage desktop size Pin
m_soleimani30-Jun-07 0:22
m_soleimani30-Jun-07 0:22 
QuestionPopulating Windows Forms From Access Pin
HurricaneDan28-Jun-07 12:06
HurricaneDan28-Jun-07 12:06 
AnswerRe: Populating Windows Forms From Access Pin
Paul Conrad13-Jul-07 13:00
professionalPaul Conrad13-Jul-07 13:00 
QuestionHow to move records using firstbutton,previous button,next button,last button in vb.net? Pin
sathyan_829428-Jun-07 7:13
sathyan_829428-Jun-07 7:13 
AnswerRe: How to move records using firstbutton,previous button,next button,last button in vb.net? Pin
Christian Graus28-Jun-07 14:21
protectorChristian Graus28-Jun-07 14:21 
AnswerRe: How to move records using firstbutton,previous button,next button,last button in vb.net? Pin
RepliCrux28-Jun-07 18:03
RepliCrux28-Jun-07 18:03 
QuestionVSS2005 Pin
tantoun27-Jun-07 23:52
tantoun27-Jun-07 23:52 
QuestionHow to use VSS? please suggest the best approach Pin
pashitech27-Jun-07 19:47
pashitech27-Jun-07 19:47 
AnswerRe: How to use VSS? please suggest the best approach Pin
originSH27-Jun-07 22:24
originSH27-Jun-07 22:24 
QuestionGet Process List from window Service in VISTA [modified] Pin
kalpeshgedia26-Jun-07 22:15
kalpeshgedia26-Jun-07 22:15 
AnswerRe: Get Process List from window Service in VISTA Pin
Dave Kreskowiak27-Jun-07 4:53
mveDave Kreskowiak27-Jun-07 4:53 
Questionhow to validate a textbox email validation Pin
pashitech26-Jun-07 21:33
pashitech26-Jun-07 21:33 
AnswerRe: how to validate a textbox email validation Pin
Dave Kreskowiak27-Jun-07 4:58
mveDave Kreskowiak27-Jun-07 4:58 
GeneralRe: how to validate a textbox email validation Pin
Stu Richardson27-Jun-07 21:51
Stu Richardson27-Jun-07 21:51 
QuestionOpen Excel Chart in .net Pin
saeed73325-Jun-07 11:20
saeed73325-Jun-07 11:20 
AnswerRe: Open Excel Chart in .net Pin
RepliCrux27-Jun-07 17:33
RepliCrux27-Jun-07 17:33 
QuestionDatagrid paging in vb.net Pin
K030625-Jun-07 0:07
K030625-Jun-07 0:07 

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.