This project is read-only.

Displaying generic data?

Apr 28, 2015 at 1:38 PM
I might be going at this from a totally wrong angle, but I'm pretty new at MVC, so have some patiance will you...?

I need to display the contents of several rows of data. I don't know the number of rows, nor the number of columns. Currently, I have a view model looking something like this:

public string[] Columns { get; set; }
public List<string[]> Rows { get; set; }

I can't figure out how to display this using Html.Grid() - do I really need to know the names of my columns in order to use the Grid?