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 && result.data != null && result.data.length > 0) {
var currentRow = 0;
for (var rows = 0; rows < result.data.length; rows++) {
var row = result.data[rows]
for (var cols = 0; cols < row.length; cols++) {
var divId = "#R" + currentRow + "C" + cols;
if (arrayRowCol[divId] == undefined || arrayRowCol[divId] == null) {
continue;
}
var oldValue = $(divId).text();
var newValue = row[cols]
$(divId).text(newValue)
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--->
InitializeComponent();
WebClient wc = new WebClient();
wc.DownloadStringAsync(new Uri(some url));
wc.DownloadStringCompleted += new DownloadStringCompletedEventHandler(wc_DownloadStringCompleted);
}
void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{
}
so what will be **the XAML code & the way or procedure to bind this data(`e.Result`) ?**