详细信息查看问题 [英] details view problem

查看:88
本文介绍了详细信息查看问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在detailsview中有一个下拉列表,我将其与表格绑定,当我从下拉列表中选择项目时,始终选择了选定inbex 0处的项目.请给我任何想法,
在此先感谢

解决方案

动脉选择,您再次绑定了组合.检查您的绑定部分.


如果您有选择最好在下拉列表中的字段"中删除选择",而不是在Page_load中写入Dropdownlst.Items.Insert(0,"select");.然后您必须检查绑定部分的下拉列表. /p>

i have a drop down list inside a detailsview, i bind it with the table ,when i select item from dropdown list,always the item at selected inbex 0 is selected.please give me any idea on this,
thanks in advance

解决方案

arter selection you are again binding your combo.check your binding part.


if u have "select" field in the dropdownlist better u remove the "select" instead write Dropdownlst.Items.Insert(0,"select");in Page_load.Then U have to check the binding part for dropdownlist.


这篇关于详细信息查看问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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