using System.Collections.Generic;
namespace HelloWorldMvcApp
public class HomeController : Controller
public ActionResult Index()
var tableList = new List<string>();
tableList.Add("<tr><td>id:1, col: a, val: 1</td></tr>");
tableList.Add("<tr><td>id:1, col: a, val: 1</td></tr>");
tableList.Add(" <tr><td> id:3, col: c, val: 3; col: d, val: 4; col: e, val: 5 </td></tr>");
TempData["tableList"] = tableList;
return View(new SampleViewModel());