Controlling field sizes of a table created with response.write

Controlling field sizes of a table created with response.write

am 08.09.2005 17:18:03 von jack

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 "

"
Do While Not rs.EOF

Response.Write ""
Response.Write ""
Response.Write ""
Response.Write ""
Response.Write ""
rs.MoveNext
Loop
Response.Write "
" & rs("RoomID") & " " & rs("Type") & " " & rs("Smoking") & " " & rs("Capacity") & " " & rs("Rate") & " 
"

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.

Re: Controlling field sizes of a table created with response.write

am 08.09.2005 17:53:40 von CJM

"Jack" wrote in message
news:84B8A11E-65EE-4B02-9ABA-81950EDA33DF@microsoft.com...
> 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 "

"
> Do While Not rs.EOF
>
> Response.Write ""
> Response.Write ""
> Response.Write ""
> Response.Write ""
> Response.Write ""
> rs.MoveNext
> Loop
> Response.Write "
" & rs("RoomID") & " " & rs("Type") & " " & rs("Smoking") & " " & rs("Capacity") & " " & rs("Rate") & " 
"
>
> 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.

This is not an ASP issue - it's all to do with HTML/CSS).

Repost to news://comp.infosystems.www.authoring.html or
news://comp.infosystems.www.authoring.stylesheets or google for some
tutorials on styling via CSS.

CJM

Re: Controlling field sizes of a table created with response.write

am 09.09.2005 03:52:32 von Bullschmidt

Well something like this would give your field a much bigger and
different look:

Response.Write "" & rs("RoomID") & " "

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...

<<
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 "

"
Do While Not rs.EOF

Response.Write ""
Response.Write ""
Response.Write ""
Response.Write ""
Response.Write ""
rs.MoveNext
Loop
Response.Write "
" & rs("RoomID") & " " & rs("Type") & " " & rs("Smoking") & " " & rs("Capacity") & " " & rs("Rate") & "
"

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.
>>

*** Sent via Developersdex http://www.developersdex.com ***