-->

Friday, June 16, 2017

How to pass string type array from Controller to View in ASP.NET Core

How to pass string type array from Controller to View in ASP.NET Core

First to remember that when we pass array, List or any collection from controller to view then must to add model with IEnumerable<type> . Here IEnumerable refer to collection.  After that you can retrieve items using for-each loop.



Read other related articles

Also read other articles

© Copyright 2013 Computer Programming | All Right Reserved