Controlling field sizes of a table created with response.write
- From: "Jack" <Jack@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Sep 2005 08:18:03 -0700
Hi,
I am pulling all the fields from a table from a sql server database. The
fields are being displayed with the following code:
Response.Write "<TABLE BORDER=1>"
Do While Not rs.EOF
Response.Write "<TR><TD>" & rs("RoomID") & " </TD>"
Response.Write "<TD>" & rs("Type") & " </TD>"
Response.Write "<TD>" & rs("Smoking") & " </TD>"
Response.Write "<TD>" & rs("Capacity") & " </TD>"
Response.Write "<TD>" & rs("Rate") & " </TD></TR>"
rs.MoveNext
Loop
Response.Write "</TABLE>"
However, the fields are displayed with field size at its minimum. I am
trying to find out if it is possible to tweak the above code so that one can
controll the individual field spacing. Any help is appreciated in advance.
Thanks.
.
- Follow-Ups:
- Prev by Date: Re: Strange delay behaviour
- Next by Date: Re: Controlling field sizes of a table created with response.write
- Previous by thread: Re: Import comma delimited file
- Next by thread: Re: Controlling field sizes of a table created with response.write
- Index(es):
Relevant Pages
|
Loading