Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Windows C#4.0 form
Can We Handle Many Textboxes with help of One Label,mean If there are (Cell NO ,Email,Name)Validations and we want to handle all validations through one label.Have Any Simple Code.
Posted 16-Jan-13 21:19pm
Comments
Sergey Alexandrovich Kryukov at 17-Jan-13 3:28am
   
Not clear at all.
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You cannot do data entry on labels. You would only be accessing readonly data via labels.
 
To solve your problem, what you could do is display readonly data on a label and separate them via a delimiter character e.g. a comma. You could split the text via String.Split and then validate all data one by one.
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 17 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100