0
如何在我的視圖中顯示foolowing?在mvc中顯示陣列數組
我有一個類,如下所示:
public class testArrays()
{ public list<int>ID{get;set;}
public int TotalAccount{get;set;}
public List<int> Account{get;set;}
}
public List<testArrays> test {get;set;}
How can I displat the values of test in my view? Part of my code is as follows:
foreach(var i in model.test)
{
foreach(var j in i)<-----stuck as from here
{
}
}