In my case fld1 is Int32. So I tried both
Insert Into [table] (fld1, fld2, fld3) VALUES (130, ?, ?)
and
Insert Into [table] (fld1, fld2, fld3) VALUES ('130', ?, ?)
In both cases I get an error like 'Input string is not in the correct format'.
In reality I do not even know that the value I need to insert is 130, all I know is that it is stored in Session("account_id"). How do I modify Insert command, or can I?
Thanks
|