Hi friends,
I want to create only view part, where in I'm making dummy data as below
@foreach (var item in new List<Object> {
new { market = "UK", collectionGroupName="Collection Group 1",GTS="yes",processingCenter = "Processing Centre 1"},
new { market = "UK", collectionGroupName="Collection Group 1",GTS="yes",processingCenter = "Processing Centre 1"},
new { market = "UK", collectionGroupName="Collection Group 1",GTS="yes",processingCenter = "Processing Centre 1"},
new { market = "UK", collectionGroupName="Collection Group 1",GTS="yes",processingCenter = "Processing Centre 1"},
})
{
<tr>
<td class="ProductListTable_TD">@item.market</td>
<td class="ProductListTable_TD"></td>
<td class="ProductListTable_TD"></td>
<td class="ProductListTable_TD"></td>
<td class="PadRig_AlignRgt">
<input type="button" class="btnEdit" name="btnEdit" value="Edit" data-href="#content1" />
</td>
</tr>
}
How can I access the market, GTS and other property from the item?
If I try to access as below it gives an error
@item.market
Any idea?
Thanks in advance