Anyone knows how to work well with Windows Phone 7 local Database? (new Mango release, 7.1) I am trying to make a Database (local) to hold two tables, I managed to make both of them, but I can't see why I got one error when making a query for the ObservableCollection (linq object), says doesn't have any argunments, therefore I can't pass new data from the collection to the DB... -.-'''!
// Define the query to gather all of the amino items. var aminoItemsInDB = from AminoItem amino in aminoDB.AminoItems select amino; // Execute the query and place the results into a collection. AminoItems = new ObservableCollection<AminoItem>(aminoItemsInDB);<-- this gives me an error! the argument! Error: 'System.Collections.ObjectModel.ObservableCollection<AminoBlocks.AminoItem>' does not contain a constructor that takes 1 arguments
ObservableCollection<Person> PersonsNew = new ObservableCollection<Person>(); AminoItems = new ObservableCollection<AminoItem>(aminoItemsInDB);
True using ObservableCollection<Person> PersonsNew = new ObservableCollection<Person>(); your using: person=new ObservableCollection<Person>();
these 2 things are arrays not only 1 variable...
well Doesn't it ture using of it : ?? http://stackoverflow.com/questions/6161139/filter-observable-observablecollection-wpf ???
ObservableCollection<Person> Persons = new ObservableCollection<Person>(); define persons.. . . ObservableCollection<Person> PersonsNew = new ObservableCollection<Person>();
private ObservableCollection<AminoItem> _aminoItems;
fr33 you did ?
nah, I just read a bunches of things in the wp7 dev labs they have for local db and then got sleepy and went to bed... Now I shall do that DB righ!
Join our real-time social learning platform and learn together with your friends!