Link to home
Start Free TrialLog in
Avatar of daverichardson
daverichardson

asked on

Check if Textbox is Null

I need to check if a textbox on my windows form is null, if it is then a message box tells the user.
 
I have tried
If editSalesOrder.text Is DBNull.Value Then
                       MsgBox("Please Enter Sales Order")
            End if
With no success

Dave
ASKER CERTIFIED SOLUTION
Avatar of RaisinJ
RaisinJ

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of daverichardson
daverichardson

ASKER

That works great thanks

Dave