Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Beginner q
Message
From
31/07/2003 12:45:42
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00815425
Message ID:
00815472
Views:
10
This message has been marked as the solution to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform