动态下拉列表并在gridview中显示所选数据 [英] Dynamic Dropdownlist and display selected data in gridview

查看:106
本文介绍了动态下拉列表并在gridview中显示所选数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asp.net_vb代码中的Web和sql数据库
1. dropdownlist具有sqldatasource,dropdownlist将所选数据显示为雨夹雪
2. Gridview有一个sqldatasource,并通过configure数据源按需显示所选数据.
但是在浏览时不会显示所选数据.
完整的代码在这里提供

href ="http://forums.asp.net/t/1846624.aspx/1?DYNAMIC+DROPDOWNLIST+AND+GRID+VIEW

请帮助

web in asp.net_vb code & sql database
1. dropdownlist have sqldatasource the dropdownlist shows the selected data to sleet
2. Gridview has a sqldatasource and through configure data source the selected data gets displayed as desired.
but when browsing the selected data is not getting displayed.
the complete code is fed here

href="http://forums.asp.net/t/1846624.aspx/1?DYNAMIC+DROPDOWNLIST+AND+GRID+VIEW

please help

推荐答案

将下拉列表的Autopostback属性设置为True.
Set the Autopostback property of the dropdownlist to True.


这篇关于动态下拉列表并在gridview中显示所选数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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