如何将字符串转换为整数?
我使用 Visual Basic 2008 Express Edition
答案 0 :(得分:0)
您需要使用此代码:
<强> Convert.ToInt32()强>
答案 1 :(得分:0)
@Html.CheckBox("Report User", Model == null ? false : (Model.Report_Users == Model.Report_Users ? true : false), new { @value = "false" }) Report User
@Html.CheckBox("Innovation Discussion User", Model == null ? false : (Model.Innovation_Discussion_User == Model.Innovation_Discussion_User ? true : false), new { @value = "false" }) Innovation Discussion User