c# Programming Glossary: x.englishname
'object' does not contain a definition for 'X' http://stackoverflow.com/questions/7652749/object-does-not-contain-a-definition-for-x ViewBag.Languages db.Languages .Select x new x.Name x.EnglishName x.Id .ToList and on my page Razor I try to iterate through it.. here ViewBag.Languages db.Languages .Select x new x.Name x.EnglishName x.Id .ToList Anonymous objects are emitted as internal by the.. .Select x new LanguageViewModel Name x.Name EnglishName x.EnglishName Id x.Id .ToList And now that you have a view model the next..
|