Dear All,
I Am using WCF Service in Silver light.Here my service passing datatable from service to silver light application.while Binding Datatable value to silver light data grid i am getting following error.
Unable to cast object of type 'RadControlsSilverlightApplication1.ServiceReference1.getCustomerResponseGetCustomerResult' to type 'System.Collections.IEnumerable'.
Help me to solve this problem....
Thanks in advance!!!
WCF in Silver light
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Praneeth KumarRank #4,422 · 344 reputationPosted May 26, 2011, 2:50 AM EDT
Praneeth KumarRank #4,422 · 344 reputationPosted May 26, 2011, 10:00 PM EDT
Next point you cannot bind a datatable directly to a datagrid.
Regards,
Praneeth