Skip to content

Instantly share code, notes, and snippets.

Created January 26, 2012 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6ac19642237dd2152f4e to your computer and use it in GitHub Desktop.
Save anonymous/6ac19642237dd2152f4e to your computer and use it in GitHub Desktop.
table = Html.XCreateTable(
attributes: new[] { new XAttribute("class", "list") },
tHeadData: new[]
{
Html.XCreateTableHeadRow(
new object[]
{
new object[]
{
new XAttribute("colspan", "2"),
"Information"
},
"Message",
}),
},
tRowsContent: Model.LogEntries.OrderByDescending(entry => entry.Timestamp).Select(ShowLogEntry));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment