[Mono-list] doc on Sqlite

Julien Sobrier julien at sobrier.net
Tue Aug 30 14:56:23 EDT 2005


Hello,
I can find any doc about Mono.Data.SqliteClient. It is not part of Monodoc.

I have this error message: "System.InvalidCastException: Can only use
SqliteParameter objects" on this code:
...
Hashtable values = new Hashtable();
values.Add("@id",id);
...

foreach (string key in values.Keys)
{
	dbCommand.Parameters[key] = values[key];
}

First, I was suprised thht I couldn't do bCommand.Parameters.Add(key,
values[key]).

Anyway, I tried to find some information about these "SqliteParameter
objects", but I didn't find anything.


Thank you
Julien


More information about the Mono-list mailing list