Forum guidelines
AuthorQuestion
Model List
Posted By Ve Ku on 19 Nov 2012
Hi,
I am quite new in C# and MVC, so please excuse me , if my question is trivial or not correct. I have the following problem:

In my code, i use
public ActionResult PrintDetails(){
...
return model;
}
In some cases , i need to display the data from the model, several times. First, can you please help me, with ideias how to insert in the model multiple data, for example , it differs, only by id. Second is , how can i return something like a List of models-again, i need to display like several models, populated with different values of the data.

Thanks in advance.

AuthorReply
Ve Ku
  • 0
  • 0
Re: Model List
Posted By Ve Ku on 20 Nov 2012  
Somebody?

Please help

Spire.Doc

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.