EDN Admin
Well-known member
I have an xml file which looks like this
<tips>
<tip_of_day>
<tip_text> Take the stairs when ever you get a chance</tip_text>
<tip_image_url>tip1.jpg</tip_image_url>
</tip_of_day>
<tip_of_day>
<tip_text> Save Energy</tip_text>
<tip_image_url>saveenergy.jpg</tip_image_url>
</tip_of_day>
<tip_of_day>
<tip_text> Go Green!!!!!!!!! Save the EARTH </tip_text>
<tip_image_url>saveearth.jpg</tip_image_url>
</tip_of_day>
</tips>
I have a texblock and a Image in my MainPage.xaml file .
Now I want to load the new tip_text value to texblock and tip_image_url as the source to image.
When I click on next button, It should load new set to tip_text and tip_image_url .
Please help me .
View the full article
<tips>
<tip_of_day>
<tip_text> Take the stairs when ever you get a chance</tip_text>
<tip_image_url>tip1.jpg</tip_image_url>
</tip_of_day>
<tip_of_day>
<tip_text> Save Energy</tip_text>
<tip_image_url>saveenergy.jpg</tip_image_url>
</tip_of_day>
<tip_of_day>
<tip_text> Go Green!!!!!!!!! Save the EARTH </tip_text>
<tip_image_url>saveearth.jpg</tip_image_url>
</tip_of_day>
</tips>
I have a texblock and a Image in my MainPage.xaml file .
Now I want to load the new tip_text value to texblock and tip_image_url as the source to image.
When I click on next button, It should load new set to tip_text and tip_image_url .
Please help me .
View the full article