Tornado API Library - V12.30.08

z.dbFormTemplate Property

Replace internal system 'Form' mode template.

Product Version

All
[VisualBasic]
PublicPropertydbFormTemplateAsString
[C#]
publicstringdbFormTemplate{set;}

Property Value

MyDb.dbFormTemplate = "Inline HTML code | File Template"

KeywordDescription
Inline HTML codeFrom Property
File TemplateFrom File

QuickProp Keyword Abbreviation

fmtp

Remarks

Replacement HTML code can be from property or file

Default system template = <center>[[Form]]<p>[[GridNav]]<P>[[GridStat]]</center>

Example

From File -
  MyDb.dbFormTemplate = "File=/tornado/templates/MyForm.html"
From Property -
  MyDb.dbFormTemplate = "<center>[[GridNav]]<P>[[Form]]<p>" & _
    "[[GridNav]]<P>[[GridStat]]</center>"

See Also

z Class | Tornado Namespace | Special Topic - Templates