[thelist] Easy (?) Database Question
Scott Dexter
sgd at ti3.com
Fri Jan 5 10:18:10 CST 2001
>
> In ASP it would be:
>
> sql = "SELECT * FROM TableName WHERE (Only get 1 record if
> you don't need
> more)"
> Set rs = Conn.Execute(sql)
>
> FOR i = 0 TO rs.Fields.Count - 1
> Response.Write("Field #" & i & ": " &
> rs.Fields(i).Name & "<br>")
> NEXT
>
>
> ...at least that's one way. I'm sure Scott will have a
> better way. :)
>
nnnnope. That's how I woulda done it....
(this kind of response needs a tip, but it's coming later in its own
packaging)
sgd
(did I punctuate that right?)
More information about the thelist
mailing list