im new in vb.net and i want to know how to assign specific number of digits enter in a textbox..

plz...reply guys!

thankz....

hi,

You can use MaxLength Property of text box.

TextBox1.MaxLength =5

Happy Coding:-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.