#region "Rendering"
protected override void RenderContents(HtmlTextWriter output)
{
output.AddAttribute(HtmlTextWriterAttribute.Cellpadding, "3");
output.AddAttribute(HtmlTextWriterAttribute.Border, "1");
output.RenderBeginTag(HtmlTextWriterTag.Table);
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Stock: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(StockTicker);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Company: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mName);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Last: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mLast);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Date: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mDate);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Time: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mTime);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Change: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mChange);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Open: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mOpen);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>High: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mHigh);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Low: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mLow);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Volume: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mVolume);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Market Cap: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mMktCap);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Previous Close: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mPrevClose);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Percent Change: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mPercentChng);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Annual Range: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mAnnRange);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>Earnings: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mEarns);
output.RenderEndTag();
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Tr);
output.AddAttribute(HtmlTextWriterAttribute.Align, "left");
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write("<b>P-E: </b>");
output.RenderEndTag();
output.RenderBeginTag(HtmlTextWriterTag.Td);
output.Write(mPE);
output.RenderEndTag();
output.RenderEndTag();
output.RenderEndTag();
}
#endregion