Click here to Skip to main content
14,695,085 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends i want a code for a textbox does not contain a space at starting point. Please send the code.
Sandeep Mewara 9-Jun-11 11:46am
Any why you 'ask' for code without making any effort?

if (!myTextBox.Text.StartsWith(" "))
Monjurul Habib 9-Jun-11 6:50am
nice answer, my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900