Results 1 to 2 of 2

Thread: response.write

  1. #1
    Join Date
    Dec 1969

    Default response.write

    all the data i want is coming out<BR>but you see in the response.write<BR>i don`t want the output to be like this<BR>-----------------------------------------------------------------<BR>8:30:00 AMOracle Group Meeting9:30:00 AMMeet Major Project Group <BR>----------------------------------------------------------------<BR>i want it to be like this<BR>8:30:00 AM Oracle Group Meeting<BR>9:30:00 AM Meet Major Project Group <BR>-----------------------------------------------------------------<BR>the code is below ,can somebody teach me how 2 do this?<BR><BR>set objRec = server.createObject ("ADODB.Recordset")<BR> strSQL="SELECT * FROM diary where category= &#039;meeting&#039;"<BR> objRec.Open strSQL, objConn<BR> <BR> Do while not objRec.EOF<BR> set strlist=objRec("time")<BR> set strlist2=objRec("text_field")<BR> <BR> Response.Write strlist<BR> Response.Write strlist2<BR> <BR> objRec.MoveNext<BR> loop<BR> <BR> <BR> <BR> objRec.Close<BR> Set objRec=nothing<BR> &#039;objConn.Close<BR> set objConn=nothing<BR> %&#062;

  2. #2
    Join Date
    Dec 1969

    Default RE: response.write

    try adding a &nbsp; between them..<BR><BR>Response.Write strlist<BR>Response.Write "&nbsp;"<BR>Response.Write strlist2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts