@ the if (Model. DealSecurities. Count & gt; 0)
{
for (int i=0; I & lt; Model. DealSecurities. Count; I++)
{
Risk Rating for @ Model. DealSecurities [I] SecurityDescription
@ Html. HiddenFor (m=& gt; M. ealSecuritiesForRiskRating [I]. Id)
@ {
Var selectedRiskRatingId=Model. ChoosenRiskRatings [I] ChoosenRiskRatingId. The ToString ();
Var selectList=new selectList (Model. RiskRatingList, "Id", "Description", selectedRiskRatingId);
}
@ Html. DropDownListFor (m=& gt; M.C hoosenRiskRatings [I] ChoosenRiskRatingId selectList, "-- SELECT --", new {@ class="SELECT - text", [I]. @ data=https://bbs.csdn.net/topics/@Model.DealSecurities Id})
@ {
}
@ Html. HiddenFor (m=& gt; M. ealBrokerDealerParameterId)