Home > Net >  C # winfrom sqlite data overflow
C # winfrom sqlite data overflow

Time:12-29


Add success

C # winfrom

O


CodePudding user response:

Significantly over the Int, try for Long

CodePudding user response:

Tel that telephone the data type of the field, can consider set to character, rather than integer types, that is, when the insert data, should be written as

Insert into t
Values
(2, 'Y', '13812345678')

CodePudding user response:

reference 1st floor assky124 response:
obviously exceeds the Int, try for Long

Because the problem of data, data type changed don't have any way to get to the int data

CodePudding user response:

refer to the second floor lich2005 response:
tel that telephone the data type of the field, can consider to set to character, rather than integer types, that is, when the insert data, should be written as

Insert into t
Values
(2, 'Y', '13812345678')

Tel field is one of my test on a test name there as long as the deposit is similar to a id int overflow when add the data is normal

CodePudding user response:

Int maximum 2 ^ 31 just a few who ah 2147483648, more than to overflow, you must change the data type, id these must be a string, id have X, what Numbers do you use
  •  Tags:  
  • C#
  • Related