开发者

How to put two data sources in the same listView?

I have a search page get data from two sources:

1- my data base

2- web service functi开发者_运维问答on

How to put this two data sources in my list view?


You cannot assign two datasources to a ListView. Therefore it is your responsibility to colate the two sources of data into on result set.

I suggest you use something like the objectdatasource to return your result sets and merge the results before returning the final results to the listview.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜