byte[]
byte[] data = proxy.DownloadData("http://localhost:6236/Service1.svc/GetData"); Stream stream = new MemoryStream(data); DataContractSerializer obj = new DataContractSerializer(typeof(string)); string result = obj.ReadObject(stream).ToString(); TextBox1.Text = result;
DataSet.ReadXml
myGrid.DataSource = myDataset; myGrid.DataBind();
Quote:[WebGet(UriTemplate = "/GetDataList", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)] List<person> GetDataList();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)