|
-
Jun 28th, 2003, 11:44 PM
#1
Thread Starter
New Member
.Net Label, etc
When I set a Label Text property as a "A______B", all spaces are removed but one, so on the page label looks like "A B"
Someone helped me with the following solution -
Label.Text = Label.Text.Replace(" ", "; ")
(Underscores represent spaces)
Well this works for labels but not for listbox. In other words
a line like Listbox.Items.Add("A______B") will be shown as "A B"
Can anybody help?
-
Jun 28th, 2003, 11:45 PM
#2
Thread Starter
New Member
Label.Text = Label.Text.Replace(" ", "nbsp")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|