none
Createresponse(HttpStatusCode.OK, MyNewList) Return and display HTML from list to createresponse RRS feed

  • Question

  • Hello,

    I have a variable creates a list as below

    List<Status> myList = new List<Status>(myVariable.Items);

    Now below code simply outputs the entire list unformatted.

    return req.CreateResponse(HttpStatusCode.OK, MyList);

    How do I go about to instead output only a specific set of variables and let's say with the first variable in bold text.


    • Edited by coffeebakery Monday, March 4, 2019 12:19 PM
    • Moved by CoolDadTx Monday, March 4, 2019 2:45 PM ASP.NET related
    Monday, March 4, 2019 11:18 AM

All replies