Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: xml in to Gridview?
01-18-2012, 02:48 PM #1
- Join Date
- Dec 2011
- Thanked 0 Times in 0 Posts
xml in to Gridview?
i have an XML items list and i want to display it the best way i can give the user.
i tried this so far :
XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(json);
string xml1 = GetXmlString(doc);
StringReader sr = new StringReader(xml1);
DataSet dataset = new DataSet();
DataTable id = dataset.Tables;
GridView1.DataSource = id;
but this just read the xml and give the data. and i need that if i have a column that have the icon of the item i want the user to see the icon and not the URL the image is taking from...this is the main problem i have with the why i show the data now (and i want to remove some columns as well)
i hope you can help me, or give any tips on how to make this more nice to the user. thanks in advance.