Hi All,
I get the following error:
ERROR [HY000] [Gupta][ODBC Driver][SQLBase]00915 PRS IVC Invalid constant
Has anyone any idea of how to get round the problem?
The insert command is only 2 fields!!
InsertCommand="INSERT INTO T_WEB(SURNAME,FORENAME) VALUES (@SURNAME,@FORENAME)"
<InsertParameters>
<asp:FormParameter Name="SURNAME" Type="String" FormField="surnameTextBox.Text" DefaultValue="name" />
<asp:FormParameter Name="FORENAME" Type="String" FormField="firstNameTextBox.Text" DefaultValue="name" />
</InsertParameters>
Thanks! Dran
I get the following error:
ERROR [HY000] [Gupta][ODBC Driver][SQLBase]00915 PRS IVC Invalid constant
Has anyone any idea of how to get round the problem?
The insert command is only 2 fields!!
InsertCommand="INSERT INTO T_WEB(SURNAME,FORENAME) VALUES (@SURNAME,@FORENAME)"
<InsertParameters>
<asp:FormParameter Name="SURNAME" Type="String" FormField="surnameTextBox.Text" DefaultValue="name" />
<asp:FormParameter Name="FORENAME" Type="String" FormField="firstNameTextBox.Text" DefaultValue="name" />
</InsertParameters>
Thanks! Dran