如何在dropdownlistfor中绑定图像(一个(表)到关系由(ienumerable(table) [英] How to bind image in dropdownlistfor(one(table) to relation by(ienumerable(table)

查看:83
本文介绍了如何在dropdownlistfor中绑定图像(一个(表)到关系由(ienumerable(table)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜欢带有名字的城市照片都加入一个下拉列表(mvc)



如何在dropdownlistfor中绑定图像(一个(表)到关系(IEnumerable(表))



我尝试了什么:



i尝试下拉列表但是不适用于bindind两者都是如此PLZ任何人帮我加入都是显示城市标志名称

like city photo with name both are join in one dropdownlist(mvc)

how to bind image in dropdownlistfor(one(table) to relation by(IEnumerable(table))

What I have tried:

i tried dropdownlist but not work for bindind both are so plz anyone help me to join both are show city logo with name

推荐答案

有一个很好的样本(就像你的要求)我发现使用谷歌...

在MVC3中选择列表添加图像| Fairway Technologies [ ^ ]
There is a nice sample (just like your requirement) that I found using Google...
Adding Images to Select Lists in MVC3 | Fairway Technologies[^]


检查此插件使用jQuery在DropDownList中显示图像 [ ^ ]


这篇关于如何在dropdownlistfor中绑定图像(一个(表)到关系由(ienumerable(table)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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