469,647 Members | 1,800 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

How To: Do multi-line string vars?

1
I was looking for information on how to have strings cross multiple lines in asp.net a result came up from google from this site, but it was an unanswered question from the newsgroup archives.

I finally found a solution, and wanted to post it here so it's easier for everyone to fine. Basically you prepend an @ to the string in C#.NET, or in VB.NET you put an " & _ at the end of every line (you have to start and stop the string on each line though). The link I finally found this information is multiple line strings (like SQL queries) in C Sharp

Hope this helps someone!
Jul 20 '07 #1
0 4359

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

37 posts views Thread by ajikoe | last post: by
4 posts views Thread by Frank Jona | last post: by
5 posts views Thread by bobwansink | last post: by
17 posts views Thread by =?Utf-8?B?R2Vvcmdl?= | last post: by
2 posts views Thread by Aussie Rules | last post: by
14 posts views Thread by =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.