"") Then myStr...">All geek questions in one placeType mismatch: 'Server.HTMLEncode' ASPI need to encode the contents of the record, and I use 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+4asp-classicBellu Feb 22 '12 at 10:01source share2 answersIs the result your NULL entry?Try Server.HTMLEncode (rsScadenze ("testo") and "")+10Stig hausberg Feb 22 '12 at 10:04source sharechangeIf (rsScadenze ("testo") <> "") ThentoIf ("" and rsScadenze ("testo") <> "") Thenwhy?in case rsScadenze ("testo") returns as null, adding to it, "makes it"this is an easier way to deal with potential zeros.0Average joe Feb 23 '12 at 4:16source shareSource: https://habr.com/ru/post/1397769/More articles:How to match mongoid documents using array fields in a request? - ruby-on-railsLocal setup for INSTALLED_APPS using fabric - djangoAndroid Theme.Holo.Light on Galaxy Nexus has a gray background when the emulator is not working - androidProblem with unusual deployment with Django and CoffeeScript for Heroku - djangoRendering on an external display with Monotouch - opengl-esCould not find entry point in DLL - c ++Database: Currencies by CountryCode? - c #What should I do with a Kanban item that failed the test? - kanbanConvert HTML (tinyMCE) to WORD (.docx) - htmlJetty 7 Native Configuration for websockets, servlets, and resource handlers - handlerAll Articles
I need to encode the contents of the record, and I use 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 your NULL entry?
Try Server.HTMLEncode (rsScadenze ("testo") and "")
change
If (rsScadenze ("testo") <> "") Then
to
If ("" and rsScadenze ("testo") <> "") Then
why?
in case rsScadenze ("testo") returns as null, adding to it, "makes it"
this is an easier way to deal with potential zeros.
Source: https://habr.com/ru/post/1397769/More articles:How to match mongoid documents using array fields in a request? - ruby-on-railsLocal setup for INSTALLED_APPS using fabric - djangoAndroid Theme.Holo.Light on Galaxy Nexus has a gray background when the emulator is not working - androidProblem with unusual deployment with Django and CoffeeScript for Heroku - djangoRendering on an external display with Monotouch - opengl-esCould not find entry point in DLL - c ++Database: Currencies by CountryCode? - c #What should I do with a Kanban item that failed the test? - kanbanConvert HTML (tinyMCE) to WORD (.docx) - htmlJetty 7 Native Configuration for websockets, servlets, and resource handlers - handlerAll Articles