S
Skip
Hi All,
I am trying to check a fields value (boolean in this case) in the
ItemUpdated event. The following does not work. I am very new to .NET
(VB6 guy) so sorry if this is way off.
If Me.DetailsView1.Fields.Item(6) = True Then
'do something
End If
It complains with the following error.
Error 1 Operator '=' is not defined for types
'System.Web.UI.WebControls.DataControlField' and
'Boolean'.
H:\Programming\Web\MSF_OP_Compliance_New\OP_Comp_Detail.aspx.vb 8
12 H:\...\MSF_OP_Compliance_New\
Please help. Very simple thing is causing me headaches. Thanks
I am trying to check a fields value (boolean in this case) in the
ItemUpdated event. The following does not work. I am very new to .NET
(VB6 guy) so sorry if this is way off.
If Me.DetailsView1.Fields.Item(6) = True Then
'do something
End If
It complains with the following error.
Error 1 Operator '=' is not defined for types
'System.Web.UI.WebControls.DataControlField' and
'Boolean'.
H:\Programming\Web\MSF_OP_Compliance_New\OP_Comp_Detail.aspx.vb 8
12 H:\...\MSF_OP_Compliance_New\
Please help. Very simple thing is causing me headaches. Thanks