![](https://i-blog.csdnimg.cn/blog_migrate/8f900a89c6347c561fdf2122f13be562.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/961ddebeb323a10fe0623af514929fc1.gif)
< TextBox Name ="txta" Text ="{Binding Ucorpid}" Width ="200" Height ="30" ></ TextBox >
< riaControls:DomainDataSource Name ="proclgDataSource" QueryName ="GetCLagreement" AutoLoad ="True" Margin ="0,0,0,0" >
<!-- 传参数给Linq -->
< riaControls:DomainDataSource.QueryParameters >
< riaControls:Parameter x:Name ="paraUid" ParameterName ="ucorpid" Value ="{Binding ElementName=txta,Path=Text}" />
</ riaControls:DomainDataSource.QueryParameters >
< riaControls:DomainDataSource.DomainContext >
< ds:PhroCLDomainContext />
</ riaControls:DomainDataSource.DomainContext >
</ riaControls:DomainDataSource >
DomainDataSource 的 Parameter绑定TextBox中的内容