Wednesday, June 29, 2011
Working with Isolated Storage
In this part, I’ll explain how you can store basic data on the phone from within your application. Start by creating a new Silverlight for Windows Phone Application project as described in Part 1.
Open the MainPage.xaml file in design view so that you can see the default phone page created. On this screen you will add the following controls to interact with, along with the appropriate labels:
A TextBox to type in a string of text you want to save; name it txtData.
A Button that you can click to save the text in isolated storage; name it btnSave.
A TextBlock to show the saved text next time you run the app; name it tbData.