I need to encode the content of a record and i’m using this code:
If(rsScadenze("testo") <> "") Then
myString = rsScadenze("testo") 'this is a result of a query
myEncodeString=Server.HTMLEncode(myString) 'here there is my error
Can someone help me?
Thanks
Is the result in your record NULL?
Try Server.HTMLEncode(rsScadenze(“testo”) & “”)