Problem:
Having problem to find a source solution (inherit code in view state) to display data from SokningPerformSearchViewModel and its generic list in view state.
Questions/request:
Need to display data from my viewmodel SokningPerformSearchViewModel and its generic list as a strongly typed (if possible)?
public SkaparListor(List<Bok> pSpecifikBokLista, List<Bok_Forfattare> pBok_ForfattareLista) { _Bok = pSpecifikBokLista; _myIBok_ForfattareRepository = pBok_ForfattareLista; _ViewBokSearch = new List<BokSearchResultViewModel>(); }
public List<BokSearchResultViewModel> RattBokOchForfattarListaTillViewModel() { foreach (var a in _Bok) { List<Bok> aaBok = new List<Bok>(); List<Bok_Forfattare> aaBok_Forfattare = new List<Bok_Forfattare>(); BokSearchResultViewModel results = new BokSearchResultViewModel();
fullmetalboy
Member
1 Points
9 Posts
What code in inherit part
Jan 12, 2011 08:28 AM|LINK
Problem:
Having problem to find a source solution (inherit code in view state) to display data from SokningPerformSearchViewModel and its generic list in view state.
Questions/request:
Need to display data from my viewmodel SokningPerformSearchViewModel and its generic list as a strongly typed (if possible)?
This question is a follow-up from my previous question Display a view with many to many relationship
// Fullmetalboy
"ASP.NET MVC" "MVC" Asp .Net mvc "ASP.NET MVC2" ASP .net.NET MVC
zulfiqar.lan...
Member
58 Points
16 Posts
Re: What code in inherit part
Jan 12, 2011 10:04 AM|LINK
kindly format your question
Please 'Mark as Answer' if it help you