如何根据下拉列表中选择的值更新gridview? [英] How to update gridview based on the value selected in dropdown list?

查看:127
本文介绍了如何根据下拉列表中选择的值更新gridview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于从下拉列表中选择的主题,gridview应显示占用该主题的学生的姓名。 gridview还需要允许更新和删除条目。我正在使用oracle 10g数据库。请帮助,thanx。

For a subject selected from the dropdown list, the gridview should display the names of students taking up that subject. The gridview also needs to allow updating and deleting of entries. I'm using oracle 10g database. Please help, thanx.

推荐答案

使用 SelectedIndexChanged 活动



请参阅:

http ://www.dotnetspider.com/forum/317024-Populate-gridview-based-on-dropdownlist-selection.aspx [ ^ ]

http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and- delete-data.html [ ^ ]
Use SelectedIndexChanged event

See this:
http://www.dotnetspider.com/forum/317024-Populate-gridview-based-on-dropdownlist-selection.aspx[^]
http://www.aspdotnet-suresh.com/2011/02/how-to-inserteditupdate-and-delete-data.html[^]


这篇关于如何根据下拉列表中选择的值更新gridview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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