473,397 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

html to string

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

Nov 11 '07 #1
2 1178

"Cemal" <ca**********@hotmail.comwrote in message
news:29**********************************@microsof t.com...
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

Nov 11 '07 #2
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

Nov 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
13
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of...
4
by: lkrubner | last post by:
I'd like to write a PHP script to be used from the command line on a Unix machine. I'd like for the script to put together a string, turn it into a web page, print it, then return control the...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
5
by: Sean | last post by:
Hi... I want to use the macro/sendobject (or any other procedure) to send the contents of a table (very small, ~5 rows/columns) as an Outlook message body, not as an attachment. Access 2000 will...
7
by: Xah Lee | last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did not take into account the font-family. Detail: http://xahlee.org/js/ff_pre_ex.html Xah xah@xahlee.org ∑...
7
by: microsoft access | last post by:
Is there a way to skip the format selection when e-mailing reports? Maybe in the VB coding? I want them to always be sent in an HTML format. Any information is helpful. Thanks.
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
2
by: anu b | last post by:
Now i am sending email to my friend using session variable... but my code is as below private bool SendEmail(string email) { try
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.