使用数据绑定动态下拉列表并绑定到动态gridview

编程入门 行业动态 更新时间:2024-10-11 19:17:27
本文介绍了使用数据绑定动态下拉列表并绑定到动态gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个动态gridview,我想在某些列中绑定动态下拉列表,例如column3,column4和数据,当我点击编辑按钮时,它会转换为带有数据的下拉列表 怎么可能

I have a dynamic gridview, and i want to bind dynamic dropdown in some columns like column3,column4 with data and when i click edit button it will converted lable to dropdown with data how it is possible

推荐答案

请参考下面的链接。它将帮助您解决问题 http:// chalaki / how-to-bind-a-dropdownlist-with-edititemtemplate-in-the gridview / 652 / [ ^ ] 谢谢 Please refer the link below.it will help you to solve your problem chalaki/how-to-bind-a-dropdownlist-with-a-edititemtemplate-in-the-gridview/652/[^] Thanks

你的答案是正确的,但我的问题是我从数据库中检索数据并绑定到动态gridview。在那个gridview中,我没有使用boundfields和itemtemplate,我该怎么做。 Your Answer is correct,but my problem is i am retrieving data from database and bind to dynamic gridview. In that gridview i am not using boundfields and itemtemplate,How can i do this.

更多推荐

使用数据绑定动态下拉列表并绑定到动态gridview

本文发布于:2023-08-03 12:39:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1287090.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:绑定   动态   数据   列表   gridview

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!