Friday, October 29, 2004

ASP VBScript Business Object (MyGeneration)

New template for MyGeneration that generates a vbscript class that allows you to connect to an ADODB database
v 1.0 read only, can supply SQL select statement (if not supplied, selects all rows)
i.e.

Public tb
Set tb = new MyTable
Response.Write("<ul>")
Do 
	Response.Write("<li>" & tb.MyColumn & "</li>")
Loop While tb.MoveNext
Response.Write("</ul>")
Set tb = Nothing

Also my 100th post. First one was July 25th 2003, First Weblog - Toolbars

No comments: