Textbox

Hi everybody,
My problem is I have a textbox that is going to be used to input a price and I only to allow the user to enter numbers and a decimal. Also, I want the user to only be able to enter 2 numbers after the decimal. Could someone PLEASE HELP!!!!!!!!!!!!

Comments

  • : Hi everybody,
    : My problem is I have a textbox that is going to be used to input a price and I only to allow the user to enter numbers and a decimal. Also, I want the user to only be able to enter 2 numbers after the decimal. Could someone PLEASE HELP!!!!!!!!!!!!
    :
    My short answer would be use the Masked Edit Textbox control. Its an old VB6 control and you can still use them in .Net
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion