Hello
I have a page here:
which is a result of this:
<%@language=vbscript%>
<%
Option Explicit
Dim ConnectionString
Dim connObj
Dim sql
Dim oRS
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\stevehigham\db\testDB.mdb"
& ";" & _
"Persist Security Info=False"
Set ConnObj = Server.CreateObject("ADODB.Connection"
connObj.Open ConnectionString
sql = "select * from Table1"
sql = "SELECT girlSurname, girlFirst FROM Table1 ORDER BY girlSurname"
Set oRS = connObj.Execute(sql)
Do While Not oRS.EOF
Response.Write(oRS("girlFirst"
& " - " & oRS("girlSurname"
& "<br>"
oRS.MoveNext
Loop
oRS.Close
connObj.Close
Set oRS = Nothing
Set connObj = Nothing
%>
But I am writing to ask what is the rule (or rules) about inserting HTML tags to make the table of names more presentable?
For instance, if I wanted 12pt Tahoma red bold, or 8pt orange Times Roman against a pink background cell (well, who wouldn't??!!), where do I insert these commands? Do I insert them after the Response.Write statement? And are they in brackets or quotation marks (or both)?
Thanks
LaPluma
I have a page here:
which is a result of this:
<%@language=vbscript%>
<%
Option Explicit
Dim ConnectionString
Dim connObj
Dim sql
Dim oRS
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\stevehigham\db\testDB.mdb"
"Persist Security Info=False"
Set ConnObj = Server.CreateObject("ADODB.Connection"
connObj.Open ConnectionString
sql = "select * from Table1"
sql = "SELECT girlSurname, girlFirst FROM Table1 ORDER BY girlSurname"
Set oRS = connObj.Execute(sql)
Do While Not oRS.EOF
Response.Write(oRS("girlFirst"
oRS.MoveNext
Loop
oRS.Close
connObj.Close
Set oRS = Nothing
Set connObj = Nothing
%>
But I am writing to ask what is the rule (or rules) about inserting HTML tags to make the table of names more presentable?
For instance, if I wanted 12pt Tahoma red bold, or 8pt orange Times Roman against a pink background cell (well, who wouldn't??!!), where do I insert these commands? Do I insert them after the Response.Write statement? And are they in brackets or quotation marks (or both)?
Thanks
LaPluma