Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:38 AM
Dave Karmens
Guest
 
Posts: n/a
Default Type mismatch: 'HTMLEncode'

I'm getting the above error and I can't figure out why...

Here is the line:
Response.Write Server.HTMLEncode(queryRS("characterization"))

Running IIS 6.0

DK
  #2  
Old July 19th, 2005, 11:38 AM
Ray at
Guest
 
Posts: n/a
Default Re: Type mismatch: 'HTMLEncode'

Is the value in your recordset null?


Try this.

Response.Write
Server.HTMLEncode(queryRS.Fields.Item("characteriz ation").Value & "")


Ray at work

"Dave Karmens" <dk_now_48@HOTMAIL.COM> wrote in message
news:O$6iIFm6DHA.3288@TK2MSFTNGP11.phx.gbl...[color=blue]
> I'm getting the above error and I can't figure out why...
>
> Here is the line:
> Response.Write Server.HTMLEncode(queryRS("characterization"))
>
> Running IIS 6.0
>
> DK[/color]


  #3  
Old July 19th, 2005, 11:38 AM
Dave Karmens
Guest
 
Posts: n/a
Default Re: Type mismatch: 'HTMLEncode'

Thanks Ray. I didn't think to check that.

Ray at <%=sLocation%> [MVP] wrote:
[color=blue]
> Is the value in your recordset null?
>
>
> Try this.
>
> Response.Write
> Server.HTMLEncode(queryRS.Fields.Item("characteriz ation").Value & "")
>
>
> Ray at work
>
> "Dave Karmens" <dk_now_48@HOTMAIL.COM> wrote in message
> news:O$6iIFm6DHA.3288@TK2MSFTNGP11.phx.gbl...
>[color=green]
>>I'm getting the above error and I can't figure out why...
>>
>>Here is the line:
>>Response.Write Server.HTMLEncode(queryRS("characterization"))
>>
>>Running IIS 6.0
>>
>>DK[/color]
>
>
>[/color]
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles