Thursday, February 15, 2007

C# code HTML formatting continued...

Testing yet another tool available here. As you can see the output is much better, just like in Visual Studio.

However, when using it within Blogger one needs to embed the CSS stylesheet directly into one's header section.


private PortFolioReportInfo2[] GetDataList(BLContext c)
{
if (Session["UsersPortfolioReportList"] == null)
{
PortfolioHandler ph = new PortfolioHandler(c);
PortFolioReportInfo2[] list = ph.GetUsersFileList();
Session["UsersPortfolioReportList"] = list;
return list;
}
else
{
return (PortFolioReportInfo2[])Session["UsersPortfolioReportList"];
}
}

No comments: