使用JSON在ItemTemplate中的ASP.NET Gridview中绑定下拉列表 [英] Binding Dropdown List inside ASP.NET Gridview in ItemTemplate Using JSON
本文介绍了使用JSON在ItemTemplate中的ASP.NET Gridview中绑定下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我是JSON的新手。请告诉我如何使用JSON在ItemTemplate中绑定ASP.NET Gridview中的Dropdown List。我使用JSON绑定gridview。
谢谢和问候,
Atul Sharma
Dear All,
I am new in JSON. Kindly let me know how to bind Dropdown List inside ASP.NET Gridview within ItemTemplate Using JSON. I am binding gridview using JSON.
Thanks& Regards,
Atul Sharma
推荐答案
无需去对于json
。只需使用RowCommand
事件并在里面绑定你的DropDownList
。
请参阅示例 - 如何在GridView中填充DropDownList ASP.Net [ ^ ]。
No need to go forjson
. Just useRowCommand
Event and inside that Bind yourDropDownList
.
Refer the example - How to populate DropDownList in GridView in ASP.Net[^].
这篇关于使用JSON在ItemTemplate中的ASP.NET Gridview中绑定下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文