Regular Expression Validator
Hi,
Consider a scenario,
People should enter amount in price textbox.
since people vary from each others ,some enter a int(eg 1245) and some may enter (eg 456.50 ) so my textbox should accept both the whole numbers and decimal numbers.
And my Textbox length is 8.
Can any one clearly guide or give the expression .bcoz i am new to validation control...
User Profile
Collapse
-
-
Changing datatype from int to decimal
hi
how to Change datatype from int to decimal with precission 8 and scale 3.in ms sql -
Hi,
thanx.
but the material is littlebit confusing can u solve that to me,if u are willing.
Have a plesant day...Leave a comment:
-
Hi,
Thanx a lot
its working but still have a doubt the thing is consider a person should enter marks some people will be getting decimals too.so my text box should accept both integers and decimals too.and if decimal occurs it should be upto 2 digits only.
Kindly note Decimal is not a compulsory One .
And my Maxlength Property of my Textbox is 8....Leave a comment:
-
Regular Expression Validator
Hi ,
I am Having a doubt in Regular expression validator,Since i am not aware of that
i am having a text box it should accept any integer value upto 8 digit and it also should accept decimal if so it should accept only two digits after the decimal point
can u guide me.
No activity results to display
Show More
Leave a comment: