添加 DomainDataSource 控件的条件。也可以从工具箱里面直接拖动
xmlns:riaControls
=
"
clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices
"
< riaControls:DomainDataSource Name = " domainDataSource1 " />
< riaControls:DomainDataSource Name = " domainDataSource1 " />