我们可以将绑定两个数据集吗 [英] Can we Bind The With Two Data Sets

查看:83
本文介绍了我们可以将绑定两个数据集吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨........家伙..

我想将中继器的第一列与一个
绑定 数据源和其他数据源的其余列.但是应显示数据
根据第一列.
例如

WebSiteUrl:Http://CodeProject.com
总浏览量:12
赞:22222222


因为问题是我有一个以上的Http://CodeProject.com值.
如果我使用Distinct而不是Result会出错.
如果您了解plz回应我.........
在Advance中致谢

Hi........guys..

I want to bind the First Column of the Repeater With one
data source and remaining columns to other data source.But data should be displayed
According to the first column.
e.G.

WebSiteUrl: Http://CodeProject.com
Total Views : 12
Likes: 22222222


Because problem is that i have Http://CodeProject.com value more that one time.
If i use Distinct than Result goes wrong.
if u understand that plz respond me .........
Thanks in Advance

推荐答案

请合并两个数据源,然后绑定
Please merge both data source in one then bind


使用SQL联接数据源,然后绑定您的网格到联接的数据源.
Use SQL to Join the datasources and then bind your grid to the joined datasource.




放置两个表结构

我希望开发人员可以详细说明此事

最好的
Hi,

Place your two table structure

I hope developers can do that with full details

All the Best


这篇关于我们可以将绑定两个数据集吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆