Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
this should be easy...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="purdy_ra, post: 508017"] really simple. the DBA gives you a field called txtEntry. it's an integer field in sql 2000. make a form that has the txtEntry field and validate that only integers are passed thru on that form when you save it. well, i tried this. i used the CompareValidator control. make it to DataTypeCheck to Integer. it lets thru 9999999999 that is ten 9's. it shouldn't because an integer's max value is int Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 - 1 (2,147,483,647). Storage size is 4 bytes. The SQL-92 synonym for int is integer why does it let this pass thru? am i doing something wrong? then on top of that if i try to pass 2,147,483,647 it won't work because it has comma's. there has to be a better way to do this. help, thx. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
this should be easy...
Top