hi
i put FCK on my asp dev site but there's a small problem.......
I have got the value of rs("introduce"),but i can not get anything in the FCK area.
Can someone tell me the reason? thx.....i am very start at coding.............
i put FCK on my asp dev site but there's a small problem.......
I have got the value of rs("introduce"),but i can not get anything in the FCK area.
Can someone tell me the reason? thx.....i am very start at coding.............
<td width="80%"> <%=rs("note")%> //i got this value <% Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath = "./Fckeditor/" oFCKeditor.ToolbarSet = "Basic" oFCKeditor.Width = "100%" oFCKeditor.Height = "400" oFCKeditor.Value = rs("note") oFCKeditor.Create "note" %> </td>
Re: FCK Can't display the value of string in database!
Re: FCK Can't display the value of string in database!
Replace <%=rs("note")%> with <%note = rs("note")%> and use note in the line: oFCKeditor.Value = note
If that doesn't work and you are sure your record set is returning text for that field, make sure your query is selecting the fields in the order they are being displayed on the page. I've had a similar issue when working with text and ntext field types and this usually fixes it.