如何绑定HTML表中的一列 [英] How to bind one column in the HTML Table
问题描述
我是MVC新手,在我的应用程序中我想基于下拉选择绑定HTML表。在HTML表中,有两个字段,包含组和名称。在此,组不会被更改,名称将根据下拉值更改。如何做到这一点任何人都可以帮我解决这个问题。
我的输出应该是这样的:
Div:Drop Downlist值为IND
SlNo。团体名称
1软件XXXXX
2硬件YYYYYY
3网络ZZZZZ
更改下拉列表时只输入名称应该更改
Div:Drop Downlist值是USA
SlNo。团体名称
1软件AAAAA
2硬件BBBBBB
3网络CCCCC
谢谢
Hi,
I am new to MVC, in my Application I want to bind a HTML Table based on dropdown selection. In HTML Table there are two fields which contains Group and Name. In this the Group will not be changed the Name will be changed based on dropdown value. How to do this one can anyone help me to solve this problem.
My output Should look like:
Div: Drop Downlist value is "IND"
SlNo. Group Name
1 Software XXXXX
2 Hardware YYYYYY
3 Networking ZZZZZ
When changing the Drop Down list only the Name should get changed
Div: Drop Downlist value is "USA"
SlNo. Group Name
1 Software AAAAA
2 Hardware BBBBBB
3 Networking CCCCC
Thanks
推荐答案
这篇关于如何绑定HTML表中的一列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!