question

Hekzdaddy-3952 avatar image
0 Votes"
Hekzdaddy-3952 asked Hekzdaddy-3952 commented

data validation

Can anyone someone please tell me why my "MessageBox.Show" will not work? the "Show" us underlined with the red squigllies.

Private Function DoInputValidation()
If chkBoxOilChange.Checked Or chkBoxLubeJob.Checked = False Then

         MessageBox.Show = "you must selcet an item"

     ElseIf chkBoxOilChange.Checked AndAlso chkBoxLubeJob.Checked = True Then

     Else

     End If
     'Create ValidateInputFields function here.
 End Function
dotnet-visual-basic
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered Hekzdaddy-3952 commented
 MessageBox.Show = "you must selcet an item"

=>

 MessageBox.Show("you must select an item")



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you easy fix

0 Votes 0 ·