下拉列表更改反映在网格视图中 [英] Dropdownlist change reflects in Grid view

查看:61
本文介绍了下拉列表更改反映在网格视图中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在下拉列表中选择一项服务时,我想输出以asp.net的网格视图显示此选定服务的所有子服务.

When i select one service in dropdownlist then i want to output that display all subservice this selected sevice in grid view in asp.net

推荐答案

无法在执行此操作时得到它?
看起来很简单,在这里您触发下拉菜单选择更改索引.即使如此,也要根据下拉菜单中选择的服务来获取结果(子服务).将结果与datagrid绑定并显示.

如果需要,可以使用Ajax进行部分渲染.还有什么吗?
Is there anything you were unable to get it while doing this?
looks simple straight thing, where you trigger dropdown selected change index. In that even, fetch the results(sub services) based on the service selected in the dropdown. Bind the result with datagrid and display it.

You can use Ajax for partial rendering if needed. Anything else?


这篇关于下拉列表更改反映在网格视图中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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