Tables
Can anyone tell me how to put each field of information into a separate cell in a table. I can put all the information in a table containing one row and one cell but I don't want that. I want a row and several cells for each record.
Hopefully this makes sense.
The code is below:
<%
Dim objRS, objComm, objParam, strType
Set objComm = Server.Createobject("ADODB.Command")
objComm.ActiveConnection = strConnect
objComm.CommandText = "qryMainsDrills"
objComm.CommandType = adCmdStoredProc
Set objParam = _
objComm.CreateParameter("Required Type", adVarChar, adParamInput, 50)
objComm.Parameters.Append objParam
strType = "Mains"
objComm.Parameters("Required Type") = strType
Set objRS = objComm.Execute
Set objComm = Nothing
Set objParam = Nothing
While Not objRS.EOF
Response.Write objRS("ProductID") & " " & objRS("Manufacturer") & " " & objRs("ProductDescription") & " " & objRS("ProductCode") & " " & objRS("UnitPrice") & "<BR>"
objRS.MoveNext
Wend
objRS.Close
Set objRS = Nothing
%>
|