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") & "")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With