> DataTable dt = new DataTable(); > dt.Columns.Add("dtd"); // "dtd" is the name of the database field > > then read the value into string and convert with > > byte val=byte.Parse(inputstring);
I'm sorry but this is exactly where it started. with the single-byte value being '\xA0' byte.Parse(inputstring) emits an error saying incorrect input format. This would probably work only if the byte value is less than 128. But I need full range of 0-255. Regards, Nobuya ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider