Tornado API Library - V12.30.08

z.dbInitSortCols Property

Columns (1 based) to be sorted initially upon entry.

Product Version

All
[VisualBasic]
PublicPropertydbInitSortColsAsString
[C#]
publicstringdbInitSortCols{set;}

Property Value

Obj.dbInitSortCols = "ColIndex, ColIndex-, ColName, ColName DESC"

QuickProp Keyword Abbreviation

isc

Remarks

Example

<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim CS As New Tornado.z
  With CS
    .dbQP = "U=12| S=17|Gdf=0,1,2,3,4| D=Nwind| Q=Orders| Th=tit=Multi-Columns Sort with Automatic Lineup"
    .dbSortFlds = "0,1,employeeid,3"
    .dbSortColLeftJustify = True
    .dbInitSortCols = "employeeid DESC,1"
    .ASPdbNET()
  End With
End Sub
</script>

See Also

z Class | Tornado Namespace | dbInitSortFlds | dbSortFlds | dbColSortSQL | dbSortColLeftJustify