在ListBox中为哪个类提供naem [英] where to give class naem in ListBox for
本文介绍了在ListBox中为哪个类提供naem的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
@Html.ListBoxFor(model => model.StfID,
new SelectList((System.Collections.IEnumerable)ViewData["ddldesig"], "BID", "Name"),
"Select technology"
)
推荐答案
嗨Sailaja,
您可以将它作为参考添加到mvc控件的类名< br $>
@ Html.TextBoxFor(m => m.UserName, new {@ class =textbox} )
希望这对你有所帮助。
问候,
RK
Hi Sailaja,
You can have it as reference to add class name to mvc controls
@Html.TextBoxFor(m => m.UserName, new {@class="textbox"})
Hope this helps you a bit.
Regards,
RK
这篇关于在ListBox中为哪个类提供naem的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文