How loop through a table using foreach in cshtml

Topics: General
Sep 2, 2011 at 3:19 PM

Hi friends

I have a table eg blogrollpart.. i want to get all the records using foreach and want to display in the cshtml file..please anybody suggest me how to get the data...

Coordinator
Sep 2, 2011 at 10:01 PM

You r driver should get the data and expose it on the shape that it returns. There are plenty of examples of that in existing similar modules.