Not so Simple Grids

While a datagrid is easy to make. The following stand alone grids are not so simple to make.

 <!--T_grid_6.aspx-->

<script language='vb' runat='server'>
Sub Page_Load(Source as Object, E as EventArgs)
Dim G4 As New Tornado.Z()
   With G4
      .dbQP = "S=ASPdbZen| th=title=Not so simple grids"
      Response.Write(.ASPdbHead)

      Response.Write("<Center><P><table border=5><tr><td>")
      .dbQP = "U=1| D=Nwind.Mdb| Q=Orders| TH=Title=Grid 1| gdf=0,1,2| mm=t| nh=t"
      .ASPdbNET()

      Response.Write("</td><td>")
      .dbQP = "U=2| D=Nwind.Mdb| Q=customers| TH=Title=Grid 2| gdf=0,1,2| mm=t| nh=t"
      .ASPdbNET()

      Response.Write("</td></tr><tr><td>")
      .dbQP = "U=3| D=Nwind.Mdb| Q=products| TH=Title=Grid 3| gdf=0,1,2| mm=t| nh=t"
      .ASPdbNET()

      Response.Write("</td><td>")
      .dbQP = "U=4| D=Nwind.Mdb| Q=suppliers| TH=Title=Grid 2| gdf=0,1,2| mm=t| nh=t"
      .ASPdbNET()

      Response.Write("</td></tr></table></Center>")
   End With
End Sub
</script>

One of the unique feature of Tornado is the stand alone multiple modules. These modules can work independently as well as passing variables to each other in the same display under the same Css umbrella. No FRAMES are needed. Look at this very few lines of code and what is being produced.