开发者

How to put two data sources in the same listView?

开发者 https://www.devze.com 2023-01-15 21:45 出处:网络
I have a search page get data from two sources: 1- my data base 2- web service functi开发者_运维问答on

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

精彩评论

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

关注公众号