开发者

Order entitydatasource records

开发者 https://www.devze.com 2023-03-20 02:14 出处:网络
I\'m trying to order entitydatasource records like this: orderby=\"Product_Num\" but it says: 开发者_开发问答\'Product_Num\' is not a member of \'Transient.collection[productmodel.Products(Nullabl

I'm trying to order entitydatasource records like this: orderby="Product_Num" but it says:

开发者_开发问答'Product_Num' is not a member of 'Transient.collection[productmodel.Products(Nullable=True,DefaultValue=)]'. To extract a property of a collection element, use a subquery to iterate over the collection.

So, it means that It cannot order collection of Products. It needs some kind of subquery, but I'm not sure what exactly does it need.

0

精彩评论

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