您好listbox
我在列表框填充后单击按钮后从textbox
填写listbox to database
值,然后我尝试将列表框数据插入数据库但问题是是只有一个项目正在插入,我的要求是,插入 <div class="col-md-10 col-md-offset-2">
@Html.ListBoxFor(model => model.TermsandConditionAr, new List<SelectListItem>(), new { id = "termsconAr", Multiple = "multiple", Size = 15, style = "width: 100%;" })
</div>
的所有数据而不选择它
这是我的查看代码:
public partial class Services
{
[Key]
public long ID { get; set; }
[Display(Name = "Terms and Condition En")]
public string TermsandConditionEn { get; set; }
[Display(Name = "Terms and Condition Ar")]
public string TermsandConditionAr { get; set; }
}
型号代码
grunt.initConfig({
svgstore: {
options: {
option like prefix ID with 'icon', indentation, etc.
}
},
default : {
files: {
'dest/dest.svg': ['svgs/*.svg'], //destination, files to convert
},
},
},
});