0
Im新的剃刀語法和即時通訊努力正確逃避回HTML代碼。vb剃刀語法
這裏是我不能讓使用和工作
@For Each item In Model
Dim currentItem = item
@<tr>
<td>
<video controls poster="@currentItem.ImageName + ".jpg" width="320" height="240">
<source type="video/flv" src="@currentItem.VideoName + ".flv"">
</video>
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentItem.Id)
</td>
<td>
@Html.DisplayFor(Function(modelItem) currentItem.Name)
</td>
</tr>
Next
我已經試過一個例子@ :.但剃刀的語法不斷抱怨。我真的很感激我的代碼被解釋爲新代碼爲什麼會起作用。
乾杯!