ViewData.* and TModel in asp.net MVC

Posted by Quintin Par on Stack Overflow See other posts from Stack Overflow or by Quintin Par
Published on 2010-04-11T18:25:40Z Indexed on 2010/04/11 18:33 UTC
Read the original article Hit count: 430

Filed under:
|
|
|
|

After a week of asp.net mvc2, I still haven’t understood the advantages of ViewData.model or rather how I can properly utilize Viewdata. Can some teach me how to use Viewdata properly?

Also what’s TModel that’s associated with viewdata? How does one utilize TModel? The viewdata explanation in spark view engine talks about TModel and I couldn’t get a clue of how I can use it in my projects. Can someone help me?

© Stack Overflow or respective owner

Related posts about viewdata

Related posts about asp.net-mvc