http://msdn.microsoft.com/en-us/library/ms229644(VS.80).aspx

On Thu, Apr 9, 2009 at 3:03 AM, Mike Fry <[email protected]> wrote:

>
> VIKAS GARG wrote:
>
>> Hi friends I am developing an application in which there is a text box, in
>> this text box I need to have telephone number as an input. So for this I
>> need to put a constarint on this text box so that it will only accept
>> integers and not other and also there shold be the c ondition so that no
>> more than 10 digits could be given....
>>
>
> Have a look at the MaskedTextBox rather than the plain TextBox. It'll do
> much of what you want it to do without extra coding.
>
> --
> Regards,
> Mike Fry
> Johannesburg.
>



-- 
My Web Site
http://everlovingyouth.googlepages.com
My Technical Blog
http://acutedeveloper.blogspot.com
Skype :santhoshnta
Orkut :everlovingyouth

Reply via email to