[Solved] Parsing all the doubles from a string C# [closed]

If your data actually looks like this: var data = new { Desc = “Marketcap”, Val = @”1,270.10 BTC 706,709.04 USD 508,040.00 EUR 4,381,184.55 CNY 425,238.14 GBP 627,638.19 CHF 785,601.09 CAD 72,442,058.40 JPY 787,357.97 AUD 7,732,676.06 ZAR”, }; (Because what you have in your question is unclear.) Then you could do this: var query = … Read more

[Solved] Chat Conversation page design in windows phone using c#?

do we have any readymade controls which handles this ? You mean a control that would cover chat-like functionality ? No, never heard of it. Just bind your messages (observable collection) to the listbox’s ItemsSource property. You will have to check every X seconds for a new messages and add them to collection. solved Chat … Read more

[Solved] System.Xml.XmlException: Unexpected XML declaration. The XML declaration must be the first

Make sure your <?xml tag is the first thing in the document (and that it doesn’t have anything before that, this includes whitespace). You can have <?xml only once per document, so if you have a large chunk of XML and you have this tag repeated somewhere down the lines your document won’t be valid. … Read more

[Solved] Deleting on array item in Windows Phone C# app and never show it in next app launch [closed]

Pretty basic example of using storage folder with xml output/input. You can modify it do what you wish. I use a more complicated version of it for my own windows phone app. I’m assuming you having a hard time writing and reading the data back. If you need help deleting a random element from the … Read more

[Solved] how to handle pivot swipe gesture through button click event in windows phone [closed]

you can easily achieve this via setting the Pivot.SelectedIndex like for forward if(Pivot.selectedIndex < Pivot.Items.Count) Pivot.selectedIndex++; else Pivot.selectedIndex = 0; for backward if(Pivot.selectedIndex > 0) Pivot.selectedIndex–; else Pivot.selectedIndex = Pivot.Items.Count – 1; 13 solved how to handle pivot swipe gesture through button click event in windows phone [closed]