I am very new to C#, I hope this is a simple question but I have not been able to find the answer, Thank you for any help you are able to provide.
I have a list of items pulled from a database.
public List<ListModel> my List
This is pretty much 3 columns of numbers
Header1 Header 2 Header 3
1 2 2
1 2 2
3 3 1
1 2 3
I would like to place those values into a html table in various cells. I cant build the table in a foreach as the values may need to be spread out in a non repeating manor .
In other languages you could access an array by myArray [1][2] , How can this be done in in a list I am passing from a controller to a view?
Thank you
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Fellow title is reserved for select members who demonstrate sustained contributions, industry leadership, and outstanding performance. We will announce the experts being inducted into the Experts Exchange Fellowship during the annual Expert Awards, but unlike other awards, Fellow is a lifelong status. This title may not be given every year if there are no obvious candidates.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.