日期:2014-05-17 浏览次数:20476 次
public JsonResult AddAccountInfo(int rowNum) { var results = "<tr class='AddedRow' name='AddedRowname'>" + "<td><input class='text-box single-line' data-val='true' data-val-required='*' id='addAccountInfo_" + rowNum + "__AccountName' name='AccountInfos[" + rowNum + "].AccountName' type='text' value='' /><span class='field-validation-valid' data-valmsg-for='AccountInfos[" + rowNum + "].AccountName' data-valmsg-replace='true'></span></td>" + "<td><input class='text-box single-line' data-val='true' data-val-required='*' id='addAccountInfo_" + rowNum + "__TaxNumber' name='AccountInfos[" + rowNum + "].TaxNumber' type='text' value='' /><span class='field-validation-valid' data-valmsg-for='AccountInfos[" + rowNum + "].TaxNumber' data-valmsg-replace='true'></span></td>" + "<td><input class='text-box single-line' data-val='true' data-val-required='*' id='addAccountInfo_" + rowNum + "__Address' name='AccountInfos[" + rowNum + "].Address' type='text' value='' /><span class='field-validation-valid' data-valmsg-for='AccountInfos[" + rowNum + "].Address' data-valmsg-replace='true'></span></td>" + "<td><input class='text-box single-line' data-val='true' data-val-required='*' id='addAccountInfo_" + rowNum + "__Telephone' name='AccountInfos[" + rowNum + "].Telephone' type='text' value='' /><span class='field-validation-valid' data-valmsg-for='AccountInfos[" + rowNum + "].Telephone' data-valmsg-replace='true'></span></td>" + "<td><input class='text-box single-line' data-val='true' data-val-required='*' id='addAccountInfo_" + rowNum + "__Account' name='AccountInfos[" + rowNum + "].Account' type='text' value='' /><span class='field-validation-valid' data-valmsg-for='AccountInfos[" + rowNum + "].Account' data-valmsg-replace='true'></span></td>" + "<td><input class='text-box single-line' data-val='true' data-val-required='*' id='addAccountInfo_" + rowNum + "__Bank' name='AccountInfos[" + rowNum + "].Bank' type='text' value='' /><span class='field-validation-valid' data-valmsg-for='AccountInfos[" + rowNum + "].Bank' data-valmsg-replace='true'></span></td>" + "<td></td>" + "</tr>"; return Json(results, JsonRequestBehavior.AllowGet); ; }