且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找到用户控件的问题

更新时间:2023-12-06 12:11:34

虽然您没有将其标记为ASP.NET,但基于问题内容,​​它看起来像是一个ASP.NET问题。



现在,你问的是Grid中的Cascading下拉列表。您需要具有Cascading Dropdown,然后根据下拉值对Grid数据进行过滤。以下将有所帮助:

在ASP.NET GridView中实现Cascading DropDownList [ ^ ]

使用GridView中的数据库示例的Ajax级联DropDownList [ ^ ]
Though you have not tagged it as ASP.NET, based on the question content it does look like an ASP.NET question.

Now, what you ask is a Cascading dropdown in Grid. You need to have Cascading Dropdown in place and then based on the dropdown values a filter on Grid data. Following will help:
Implementing Cascading DropDownList in ASP.NET GridView[^]
Ajax Cascading DropDownList With Database Example in GridView[^]