Hi everybody,
I don't where to asked this question in this forum. How do you insert to a column of a table with a blob or binary datatype if there is one, from a byte() datatype What is wrong How can I fixed this I need help. Thanks.
Code:
string sqlText = "Insert table1(id, dataByte) values('" + id + "'," + byteData + ")";
OdbcCommand cmd = new OdbcCommand(sqlText, odConn);
//opening connection here
int iRes = cmd.ExecuteNonQuery();
Result:
iRes = -1
den2005

OdbcCommand.ExecuteNonQuery returns -1. Help!
Stanislav Yudin
den2005
Oliver Schmidt
James