這是后端調用<table id="AttrList" class="fromEditTable setTextWidth3">@foreach(var obj in ForeachClass.ForeachClassProperties(Model)){<tr id="@obj.currentChar"><td style="text-align:right">@obj.currentTitle</td><td>@obj.Example<input id="@obj.currentChar.Substring(2,obj.currentChar.Length)" name="@obj.currentChar.Substring(2,obj.currentChar.Length)" type="hidden" value="@obj.currentValue"/></td><td><a href="javascript:deleteCurrentTR('@obj.currentChar')">[刪除]</a></td></tr>}</table> 前臺我是用了一個foreach循環但是一到調用A_BLL.GetById()方法時就會出現錯誤未將對象引用到實例
- 1 回答
- 0 關注
- 770 瀏覽
添加回答
舉報
0/150
提交
取消