MagicCell Compare

ProductNameUnitsInStockUnitsOnOrder
aaaa 0 0
2225 0 0
MIcKE 0 0
myold 0 0
mydb 0 0

bottom next goreload

[1 - 5 : 104]

Magic Color
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
  Dim Mag As New Tornado.z
  Mag.dbQP = "u=1|s=1|d=nwind|th=ti=MagicCell Compare"
  Mag.dbSQL = "Select ProductName,UnitsInStock,UnitsOnOrder from Products"
  Mag.dbMagicCell = "fi=1|mac=(#1#|GTN|#2#|class=blue~|EL||class=red)"
  Mag.ASPdbNET()
End Sub
</script>
This simple example sets the cell color according to the cell's value. See Color Styles in Display Modes & Skins


Send comments on this topic.
Copyright (c) 1998-2006 ASP-db