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
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
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