开发者

Silverlight Get Records Problem

开发者 https://www.devze.com 2023-03-06 06:20 出处:网络
I am usinq MySqlServer Domain Service and ADO.NET Entity Model for Silverlight Database works. When I get the records from DataBase my grid get the columns name but there is n开发者_运维问答o row no

I am usinq MySqlServer Domain Service and ADO.NET Entity Model for Silverlight Database works.

When I get the records from DataBase my grid get the columns name but there is n开发者_运维问答o row no data. Sometimes my grid is invisible after I give ItemSource

this is my codes.

var q=DomainService.getItemQuery();
LoadOperation<TypeOfItem> c = Sk.Load<TypeOfItem>(q);
datagrid.ItemSource=c.Entities;

What Can I do? i try get the 500


Have you checked that your LoadOperation is completing without errors? I.E. is c.Entities null?

0

精彩评论

暂无评论...
验证码 换一张
取 消