|
-
Dec 18th, 2003, 12:42 PM
#1
Thread Starter
Lively Member
Putting quotes in text
I'm sure this has come up before (It seems pretty simple), but I can't seem to find it after a half hour of searches on the forum.
I'm trying to create an html file with a table. I need to write the line:
Code:
<TABLE width="100%">
However whenever I try to put that in a WriteLine function, it doesn't like the quotes around the 100%.
VB Code:
Dim makehtml As StreamWriter = new StreamWriter(path)
makehtml.WriteLine("<TABLE width="100%">")
How do I get those quotes to appear in the html file?
-
Dec 18th, 2003, 12:44 PM
#2
Hyperactive Member
use single quotes not double around the '100%'
-
Dec 18th, 2003, 03:49 PM
#3
Thread Starter
Lively Member
If I use the single quotes, that's what shows up in the file. How do I get the double quotes into the file?
-
Dec 18th, 2003, 04:01 PM
#4
Put double, double quotes.
makehtml.WriteLine("<TABLE width=""100%"">")
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|