[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-list
Subject:    [Mono-list] doc on Sqlite
From:       Julien Sobrier <julien () sobrier ! net>
Date:       2005-08-31 3:07:26
Message-ID: 43151EEE.2060400 () sobrier ! net
[Download RAW message or body]

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



_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic