在GridView的编辑模式下如何使下拉列表具有相同的值 [英] How to make dropdownlist have same value when in edit mode of gridview
本文介绍了在GridView的编辑模式下如何使下拉列表具有相同的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我是一名初学者程序员,在我的gridview中需要一个下拉列表的帮助.当gridview不在编辑模式下时,信息为标签,当用户单击edit时,将显示下拉列表,并且用户可以选择一个值,但是所选项目是列表中的第一项,而不是标签中显示的值,我该如何纠正.
Hi, i am a beginner programmer and need some help with a dropdownlist in my gridview. When the gridview is not in edit mode the information is a label, when user clicks edit the dropdown appears and user can select a value, but the selected item is the first item on the list not the the value that was shown in the label, how can i correct this.
推荐答案
我认为这对您有帮助
使用ASP.NET AJAX和Web服务进行光速内联第一部分 [ ^ ]
I think this will help you
Light Speed Inline Editing Using ASP.NET AJAX and Web Services: Part I[^]
这篇关于在GridView的编辑模式下如何使下拉列表具有相同的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文