[sqlite] sqlite Exception System.InvalidCastException: Specified cast is not valid.

2009-06-17 Thread Seysan
]; rdr.GetBytes(1, 0, buf, 0,(int) len); I get the Exception there! sqlite Exception System.InvalidCastException: Specified cast is not valid. The GetFieldType Shows: Systes.Byte[] What is it that I'm doing wrong? ___ sqlite-users mailing list

Re: [sqlite] sqlite Exception System.InvalidCastException: Specified cast is not valid.

2009-06-17 Thread Joel Lucsy
On Wed, Jun 17, 2009 at 2:18 AM, Seysanafsh...@gmail.com wrote: I get the Exception there!  sqlite Exception System.InvalidCastException: Specified cast is not valid. The GetFieldType Shows: Systes.Byte[] Couldn't find my code where I've done it at. Tho I did find that I used a ExecuteScalar

Re: [sqlite] sqlite Exception System.InvalidCastException: Specified cast is not valid.

2009-06-17 Thread Robert Simpson
: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Joel Lucsy Sent: Wednesday, June 17, 2009 5:53 AM To: General Discussion of SQLite Database Subject: Re: [sqlite] sqlite Exception System.InvalidCastException: Specified cast is not valid. On Wed, Jun 17, 2009 at 2