Return the Title HTML code from ASPdb.Net as defined in TextHolder.
Namespace:
TornadoAssembly: Tornado (in Tornado.dll) Version: 12.6.0.9 (1.0.0.0)
Syntax
Return Value
Returns the title HTML code that can be placed inside a table cell.e.g. Dim ret as string = obj.Get_Title()
Remarks
dbInvisible=True must be set in order for the resulting HTML code to be saved for Get_Title.
Examples
Create a VS2005 Table Control (table1) and with 2 cells - top and bottom. Map Get_Title into a table cell(0,0) and the grid into cell (1,0). The easy way is to layout the VS controls in the Deisgn pane and then copy the <asp:> code to the aspx file.
CopyVB.NET
<script language="VB" runat="server"> Sub Page_Load(Src As Object, E As EventArgs) Dim z As New ASPDB2.z z.dbQP = "U=88| D=localhost;SAMPLE;frank;pass| Q=ACT| GDF=0,1,2| S=2| iv=t| th=tit=My Title" z.DB2NET() Table1.Rows(0).Cells(0).Text = z.Get_Title() Table1.Rows(1).Cells(0).Text = z.Get_DB2NET() End Sub </script> <p /> <html> <body MS_POSITIONING="GridLayout"> <form id="Form1" method="post" runat="server"> <asp:Table id="Table1" style="Z-INDEX: 101; LEFT: 112px; POSITION: absolute; TOP: 56px" runat="server" Width="561px" Height="424px"> <asp:TableRow VerticalAlign="Middle"> <asp:TableCell></asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell></asp:TableCell> </asp:TableRow> </asp:Table> </form> </body> </html>