zhb12810
New member
- Joined
- Oct 24, 2012
- Messages
- 3
- Programming Experience
- Beginner
Hi
I'm succesfully populating a listbox with data based on a comparison to a datetimepicker value however i'm struggling with if there is nothing to pull into the listbox i want it to display some default text.
Ive tried
but that just displays nothing
Any ideas??
I'm succesfully populating a listbox with data based on a comparison to a datetimepicker value however i'm struggling with if there is nothing to pull into the listbox i want it to display some default text.
Ive tried
VB.NET:
If lstPlanned.Items.Count < 0 Then
lstPlanned.Items.Add("No Jobs Planned")
End if
but that just displays nothing
Any ideas??