Lecture/ASP

textarea에서 엔터친거 DB에서 불러올때 없애는 방법.

안샘 2008. 12. 2. 13:27

Do Until RS.EOF

    For i = 0 to RS.Fields.Count-1 step 1

 

''''''''''''''''''''''''''''''''''''''''''''
 
 ttt = RS(i).Value
 If IsNull(ttt) Then
     ttt = ""
    End If
 fff = replace(ttt,chr(13) & chr(10),"-")
'''''''''''''''''''''''''''''''''''''''''''''

 

 Response.Write  fff & chr(9)
    Next

        Response.Write chr(13) & chr(10)

    RS.MoveNext

    Loop

 
END IF