Hello,
I am new to SilverLight development, I need access SQL Database from my application for that I am using WCF service and it's working fine when I return a List type of a predefined class and properties.
But now I need data from a SQL Query and need to fill the DataGrid, the select columns in the query will vary based on the user selection, so I can not use a predefined class. I have tried adding the properties to the class at runtime using Reflections but of no use.
Please help me to solve this problem, if possible please explain with an example.
Thanks in advance.