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

Comments

Popular posts from this blog

Select box manipulation with jQuery

Basic Excel Spreadsheet Generation (ASP/ASP.NET)

Link: HTML Agility Pack (.NET)