Suppose you want to verify that the user has entered a value into a text box named txtInput. Which of the following code segments responds with an appropriate message if the user does not enter a value?

a.``` If txtInput.text <> "" Then
lblStatus.Text = “No data has been entered”
End If
```
b.``` If txtInput.Text = " " Then
lblStatus.Text = “No data has been entered”
End If
```
c.``` If txtInput <> String.Empty Then
lblStatus.Text = “No data has been entered”
End If
```
d.``` If txtInput.Text = String.Empty Then
lblStatus.Text = “No data has been entered”
End If
```

d.``` If txtInput.Text = String.Empty Then
lblStatus.Text = “No data has been entered”
End If
```

Computer Science & Information Technology

You might also like to view...

________ ensure(s) that people using an older version of Word have full editing capabilities on the document

A) Compatibility Mode B) Rich Text Format (RTF) C) Outline view D) Smart Lookup

Computer Science & Information Technology

The function_num argument of the SUBTOTAL function can only have entries from 1 to 10 or from 101 to ________

Fill in the blank(s) with correct word

Computer Science & Information Technology