give the control an ID in CreateChildControls(), then usethis.FindControl(TheID)
in btnSub_Click (assume it is a method in the custom control itself)
in btnSub_Click (assume it is a method in the custom control itself)
解决方案 »
- 菜鸟问题请大家帮个忙~!谢谢
- 请教如果有效的限制网站被重复安装和使用?
- ========求一sql语句,不知能否实现,大哥们?
- 龙的传人--Xml_javascript分页
- 一个数据库方面的问题!大家帮帮我,谢谢!
- 急:System.Reflection.Assembly.LoadFrom(http://192.168.23.121/App.dll)问题
- 谁有asp.net实现的类似163邮箱附件上传功能代码?
- 如何使每张网页在最底下都能显示有关版权的信息?
- 小弟刚开始学ASP.Net碰到的一个问题
- 非关系型数据库和持久化映射方面的问题
- 高分求“免费提供‘企业管理系统架构’”,敬请myInternetSoft帮助
- 为何会有这样的问题?高手请上
row_new[col_name] = ((MetaBuilders.WebControls.ComboBox)this.FindControl(TheID).SelectedValue
用DropDownList时却没有发生这种情况。而“MetaBuilders.WebControls.ComboBox”的Text属性却正确,就是有关“Selected”的属性为空。
所以我想问有没有其它的办法,谢谢!