Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner q
Message
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00815425
Message ID:
00815762
Views:
8
perfect Neil thanks,
have you considered a career in programming? :-)
Cheers
~M



Mark,

You could try the following.

if (textBox1.Text.CompareTo("") == 0)
textBox1.Text = "Empty";

This does not take into account the field containing spaces, these can be removed using something like textBox1.Text.Trim().

HTH
Neil
Go raibh maith agat

~M
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform