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

Windows Forms

 
AnswerRe: validation Pin
Paul Conrad13-Jul-07 12:59
professionalPaul Conrad13-Jul-07 12:59 
GeneralRe: validation Pin
Bojja Lakshmi15-Jul-07 21:19
Bojja Lakshmi15-Jul-07 21:19 
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 
Private Sub DataGridView1_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick
For Each column As DataGridViewColumn In DataGridView1.Columns
If column.CellType Is GetType(DataGridViewCheckBoxCell) Then
MessageBox.Show(CType(DataGridView1.Rows(e.RowIndex).Cells(1).Value, String))

End If
Next

End Sub



This is how Vb.net code looks, The error you are getting might be because:
1. Your parser is going in that code before your datagrid is initialised.
2. I have said Cells(1) because there is some value in my Cell(1) in that row position. If there
is no Cell(1) in your datagrid you will get that exception
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 
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 

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.