问题描述
您好,
我正在使用c#处理telerik Winform。
我有3个下拉列表,命名为Client Dropdownlist,UserdropdownList,Lawyer DropDownlist。
这里当我从Client Droplsit中选择任何项目时,则必须根据userdropdownList和LawyerDropDownlist进行更改。
我可以将律师名单视为完全,但我想向选定的客户展示律师。
我应该如何编写代码。
我的代码如下。
Hello,
I am working on telerik Winform with c#.
I have 3 dropdownlist, named as Client Dropdownlist, UserdropdownList,Lawyer DropDownlist.
Here When I select any item from Client Droplsit then according to userdropdownList and LawyerDropDownlist has to be changed.
I can get the List of Lawyer as Fully but i want to show the lawyer as for selected Client.
How should i write code.
My Code as Below.
LawyerDropdownlist.DataSource = Lawyers;
LawyerDropdownlist.DisplayMember = "LawyerName";
LawyerDropdownlist.ValueMember = "LawyerId";
这里律师向我展示律师的完整名单,但我只想选择。
帮助
谢谢
here Lawyers show me the full list of Lawyer but i want only selected.
Help
thanks
推荐答案
这篇关于我如何...将dropdownlist与其他下拉列表绑定。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!