> Try this > > DataTable dt = new DataTable(); > dt.Columns.Add("dtd", System.Type.GetType("System.Byte")); // "dtd" is > the > name of the database field > > K.
Result: It produces the same error as in case of dt.Columns.Add("dtd", typeof(byte)); System.ArgumentException : <(the byte content)> not able to be stored in the column dtd. Required type is <Byte> (translated into English) -> System.Format Exception: Incorrect format of the input string (translated into English) Thanks, 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