html to string

C

Cemal

Hi guys
I have an html stream that I want to transfer it to a varible and that
variable into sql server.

problem is when I do this

dim myvariable as string = "<span style=\""font: 12px arial; color :
#000000; text-decoration : none;\""><br>MODEL- USB01000C01CL VENDOR-
ACTIONTEC ELECTRONICS<br> <br>FEATURES- VoSKY Chatterbox for Skype<br>
........


this html stream only transferred to "<span style=\""fo
and when I try to print it on the screen, it prints nothing.

so,. I need to know how to transfer html streams into variables without
loosing any part of it.

thanks
Cemal
 
L

Lloyd Sheen

Cemal said:
Hi guys
I have an html stream that I want to transfer it to a varible and that
variable into sql server.

problem is when I do this

dim myvariable as string = "<span style=\""font: 12px arial; color :
#000000; text-decoration : none;\""><br>MODEL- USB01000C01CL VENDOR-
ACTIONTEC ELECTRONICS<br> <br>FEATURES- VoSKY Chatterbox for
Skype<br> .......


this html stream only transferred to "<span style=\""fo
and when I try to print it on the screen, it prints nothing.

so,. I need to know how to transfer html streams into variables without
loosing any part of it.

thanks
Cemal

What you presented will not even compile. How do you know what the contents
of the variable are? How did those contents get there?

We need to see some code.

LS
 
C

Cor Ligthert[MVP]

Cemal,

This should work, but why are you not using instead of the C kind of
litteral \"" just the single quote ' , that is excepted in the same way and
is easier to use both in JavaScript and in VB.Net

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top