Tornado API Library - V12.30.08

z.dbStockTickerTemplate Property

Set the template for the stocker tickers.

Product Version

EP,Gold
[VisualBasic]
PublicPropertydbStockTickerTemplateAsString
[C#]
publicstringdbStockTickerTemplate{set;}

Property Value

Obj.dbStockTickerTemplate = "HTML template with [[S]] elements."

QuickProp Keyword Abbreviation

stt

Remarks

Example

Dim Rm As New Tornado.z
Rm.dbUnit = 2
Rm.dbStockTicker = "Symbol=GM+AAPL+CSCO | format=99| cap=none"
Dim t As String = "<table border=1><tr><th>SYM</th><th>LAST</th><th>CHANGE</th>"
t = t & "<th>VOL</th></tr><tr><td>[[S]]</td><td>[[S]]</td><td>[[S]]</td><td align=right>"
t = t & "[[S]]</td></tr><tr><td>[[S]]</td><td>[[S]]</td><td>[[S]]</td>"
t = t & "<td align=right>[[S]]</td></tr><tr><td>[[S]]</td><td>[[S]]</td><td>[[S]]</td>"
t = t & "<td align=right>[[S]]</td></tr></table>"
Rm.dbStockTickerTemplate = t
Response.Write(Rm.ASPdbGetStockTicker())

See Also

z Class | Tornado Namespace | ASPdbGetStockTicker | dbStockTicker