[Oledb-dev] bytea data

mcgr at poczta.onet.pl mcgr at poczta.onet.pl
Wed Aug 17 14:28:56 GMT 2005


Hi 
I have table with bytea data field.
When I perfom Select command I get following error: 
System.Data.OleDb.OleDbException: Query returned unhandled type 17
 
(Code .net C#)
lvCommand.CommandType = CommandType.Text;
lvCommand.CommandText = "SELECT TEKST_1 FROM MIASTA WHERE id = 1";  (TEKST_1 - bytea data)
lvCommand.ExecuteScalar();

Why?

Maciek


More information about the Oledb-devel mailing list