-
From: 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,
On Wed, Jun 17, 2009 at 2:18 AM, Seysan 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() that returns
This is the Code in C#:
SQLiteDataReader rdr;
SQLiteCommand contentCommand;
String cmd = String.Format("SELECT
filename,content,filesize FROM documents WHERE did={0}",did);
contentCommand = sqlconn.CreateCommand();
contentCommand.Command
3 matches
Mail list logo