StringBuilder sb = new StringBuilder();
sb.AppendLine("<b>Posted On:</b> " + postedON + "<br />");
if (userID == userid)
{
sb.AppendLine(
<a href="#" onclick="openEditPostWindow('<%# DataBinder.Eval(Container.DataItem, "ID") %>'); return false;"></a>
);
}
else
sb.AppendLine("<b>Posted By:</b> " + postedBy + "<br />");
Do more with
Premium Content
You need an Expert Office subscription to comment.Start Free Trial