Re: [MonoTouch] Problem with making code based on database access gallery project work

2012-05-18 Thread Chris_M
Thank you, Craig! That was it exactly. Craig Dunn wrote try changing var counties = connection.TableCountyData(); to the following two lines: var countiesTable = connection.TableCountyData(); var counties = (from i in countiesTable select i).ToList (); // using System.Linq

[MonoTouch] Problem with making code based on database access gallery project work

2012-05-16 Thread Chris_M
I'm creating an app that reads data from a pre-created database, one that will NOT be modified by the user. This is purely a search and display info app. The code below is the main view for the app, which displays a company logo, adds a search bar (which will be used essentially to filter the

Re: [MonoTouch] Problem with making code based on database access gallery project work

2012-05-16 Thread Craig Dunn
try changing var counties = connection.TableCountyData(); to the following two lines: var countiesTable = connection.TableCountyData(); var counties = (from i in countiesTable select i).ToList (); // using System.Linq basically the object returned from connection.Table isn't really a list