In my database I have declared a variable of datatype Int(10)
. If I type a number in a textbox in my web page, that number is stored in a variable whose largest value can be Int(10)
in Mysql. If I type a very large number in the textbox it is giving IndexOutofRangeException
.
So I am planning to use the maximumlength
property of text box. What is the maximum number that can be stored in a variable of type Int(10)
in mysql?