CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Model List

  1. #1
    Join Date
    Nov 2012
    Posts
    3

    Model List

    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.

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: Model List

    In this forum you need to be quite new in Visual C++ Programming...

  3. #3
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: Model List

    [ Moved thread ]
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured