Tornado Class Library

Code Gallery - Aspx shell

[vb]
<script language="vb" runat="server">
Sub Page_Load(Source as Object, E as EventArgs)
'.... place vb aspx code here 
   Dim Mydb as New Tornado.Z
   Dim GD as New Tornado.GetData
   Mydb.dbUnit = 1
   Mydb.dbDSN = "NWIND"
   Mydb.dbSQL = "Select * from orders"
   Mydb.ASPdbNET()
   End Sub
</Script>
[c#]
<script language="vb" runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
//... methods and properties are case sensitive. Place c# aspx code here 
   tornado.z Mydb = new tornado.z();
   Mydb.dbUnit = "1";
   Mydb.dbDSN = "NWIND";
   Mydb.dbSQL = "Selet * from orders";
   Mydb.ASPdbNET();
}
</Script>
Remarks

 


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