On 31.08.2011 11:51, catullum wrote:
> I have a sql command that works on the simulator but not on the device.
>
> i tried similar constructs but nothing is working.
>
> this was my original:
>
>                       connection = new SqliteConnection ("Data Source=" + 
> dbPath);
>                               connection.Open ();

You are not closing the connection, at least not in this code snippet.
Also, what is dbPath? You don't try to write to a DB inside your
app bundle, do you?

Robert

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to