Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

How Can We Bind XML to Data Grid in Silverlight Actually i am returning dataset as xml from the
Service each time the Column Names are different then in this Situation how can i bind my xml
to Datagrid.Any Help Appreciable.

Thanks and Regards,
Muneer
Posted

1 solution

hi Directly we can't bind the XML Data to Silverlight Datagrid we need to create a data class object w r that XML data and make a Collection of that object and set as ItemSource to the DataGrid then only it will Work.

http://www.scottlogic.co.uk/blog/colin/2010/03/binding-a-silverlight-3-datagrid-to-dynamic-data-via-idictionary-updated


Regards
Siraz
 
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