Hi this question is exactly the same as this question posted on stackoverflow earlier: How to pass data between two pages in Windows Phone 8.1 application ?
I have two pages on my Windows Phone 8.1 app. The first page contains a listview that displays the data from a sqlite database. When a user tapped on an item displayed, it should bring them to the second page where there is more details of the selected item, queried from the sqlite database. How do I do this?
And the first answer by Riadh Ben Hassine seems like a good solution. However, as my reputation is not high enough, I cannot comment to ask him more on the solution. I do not understand his approach (line by line analysis would be appreciated). When I use his suggestion, "Model" has a red squiggly line under it, saying the type Model could not be found. What assembly reference do I need to use?
Thank you.
Aucun commentaire:
Enregistrer un commentaire