Click here to Skip to main content
15,906,766 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i'v created a web service, and i am currently using it to display the data on a html panel (html table on .aspx page). now i want to make a windows phone application, which will display the data on the phone screen.

but i m new to windows phone & have no idea about canvas & display methods in this, so if anyone have any idea that how it can be achieved than please tell me... thank u in advance

i was binding that data into my html panel by this code given below--->

function BindData(result) {
               result = JSON.parse(result)
               if (result != null && result.Status && != null && > 0) {
                   var currentRow = 0;
                   for (var rows = 0; rows <; rows++) {
                       var row =[rows]

                       for (var cols = 0; cols < row.length; cols++) {
                           var divId = "#R" + currentRow + "C" + cols;
                           if (arrayRowCol[divId] == undefined || arrayRowCol[divId] == null) {

                           var oldValue = $(divId).text();
                           var newValue = row[cols]

                          //// some code

the `data` i am receiving, is in string format & i think it has to be converted in some objectType (in that case, i was converting it into an jsonObject when i was displaying the data in my html panel as given above).

I have already written the code to retrieve the data from the web service--->

                WebClient wc = new WebClient();
                wc.DownloadStringAsync(new Uri(some url));
                wc.DownloadStringCompleted += new DownloadStringCompletedEventHandler(wc_DownloadStringCompleted);
            void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
                // code ??????????

so what will be **the XAML code & the way or procedure to bind this data(`e.Result`) ?**

1 solution

Please use web view to see the added data in your html panel.

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900