Hi Nic, Thanks for your speedy answer.
On 23 May 2012 11:42, Nic Wise <[email protected]> wrote: > You have to return a class (this bit me, too - I'm using sums) > > class IntWrapper > { > public int Count { get; set; } > } > > var list = Db.Con.Query<IntWrapper>("select count(*) as count from mytable"); > return list[0].Count; > This is exactly what I tried in an earlier iteration, so I tried it again. Unfortunately I still get 0 as result value... With kind regards, Guido -- The explanation requiring the fewest assumptions is the most likely to be correct. -- William of Occam _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
