ASP MVC Access ViewData Array?

Posted by Jacob Huggart on Stack Overflow See other posts from Stack Overflow or by Jacob Huggart
Published on 2010-06-02T19:10:41Z Indexed on 2010/06/02 19:14 UTC
Read the original article Hit count: 409

Filed under:
|

I have some viewdata that is generated by going through my repository to the database to grab some scheduling info. When the information is stored in the Viewdata, I noticed that the viewdata is enumerated. How could I access the enumerated items and generate a table/list based on the viewdata? Most of the information just needs to be spit out into a table, but one item will have a link generated for it.

Thanks!

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about viewdata