(1302 : 1) Error
Unbalanced wrapper or Invalid Tag - 1 - 1

Normal & Grid Edit Normal & Grid Edit with GridUpdate Startup

Normal & Grid Edit
Normal & Grid Edit with GridUpdate Startup

StartUp GridUpdate
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
  Dim X As New Tornado.z
  X.dbQP = "U=1|S=1|ni=b5,add,gridadd,update,gridupdate| Q=Employees| bm=employees;0|gdf=1,2,3"
  X.dbMode = "ty=Grid| sys=t"
  X.dbTextHolder = "Title=Normal & Grid Edit| Sub=Normal & Grid Edit with GridUpdate Startup"
  X.dbCommonTables = "ind=TT|value=Mr.,Ms.,Dr.,Mrs."
  X.dbEditUpdateFlds = "fi=0|Ty=RONOUP,1,2,HireDate,HomePhone"
  X.dbEditGridUpdateFlds = "fi=0|Ty=RONOUP,1,2"
  X.dbEditAddFlds = "1,2,3,HomePhone"
  X.dbDSN = "Nwind"
  X.dbStartUp = "EditGridUpdate"
  X.dbEditGridAddFlds = "1,2,fi=4|Ty=SelectBox|val=TT|Tex=TT,HireDate"
  X.dbDebug = "EditAction"
  X.dbGridUpdateTemplate = "<h2>My Grid Update template</h2><P><Center>[[GridUpdate]]<BR>[[GridNav]]</Center>"
  X.dbGridAddTemplate = "<h2>My Grid Add template</h2><P>[[GridAdd]]<BR>[[GridNav]]"
  X.dbEditGridAddSQL = "INSERT INTO Orders (lastname,Firstname,TitleOfCourtesy,HireDate) VALUES ('[[1]]','[[2]]','[[4]]',#[[6]]#)"
  X.dbEditGridUpdate = True
  X.dbEditGridAdd = True
  X.ASPdbNET()
End Sub
</script>
This example has the 'normal' and 'grid' Edit setup plus a startup of GridUpdate. Shows you how much you can do with a few lines of code with ASP-db.


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