Free option trading game48 comments
Last post Aug 05, Aug 04, The problem after the 5 or 6 time pressing the button I get an error message saying. Next 1, maxspandays ;. AddWithValue " Name", Convert. Next 1, ; commm. Add " Country", SqlDbType. AddWithValue " Salary", Convert. Next , ;. When there is mismatch between the passed-in column value from code and DB defined size of a column, you would generally get this issue. Suppose if DB has the column size as 2 and you are passing the value as abcd so length is 4 then this would give the error, I believe.
Use values that you know are valid and make sure the code works and the SQL command succeeds. Then start putting in your "random" values, one at a time, running the code each time, until your code fails. Aug 05, According to money and smallmoney Transact-SQL , the range of money is from ,,,, When you got the message, please check size of every parameter and make sure they are in the range of corresponding field.
Programming to simplify, don't look for difficult way Suwandi - Non Graduate Programmer.