About
Pricing
Community
Teams
Start Free Trial
Log in
brasso_42
asked on
3/6/2015
ASP.Net VB define block of text
Hi
Is there any way in an ASP.net VB application to define a block of text that can go over multiple lines without using underscores?
e.g.
dim this as string
this = "Hello My
Name is fred"
dim NotThis as string
NotThis = "Hello My " _
& "Name is fred"
Thanks
.NET Programming
ASP
ASP.NET
4
1
Last Comment
brasso_42
8/22/2022 - Mon
Big Monty
3/6/2015
no, not really. the only alternative would be to assign the value to the variable each line:
dim this as string
this = "Hello My"
this += "Name is fred"
why don't you want to use the underscore?
brasso_42
3/6/2015
ASKER
Because when putting in SQL script that spans over 20-30 lines its messy
Putting it on 1 line makes it hard to read when debugging
ASKER CERTIFIED SOLUTION
Big Monty
3/6/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
brasso_42
3/6/2015
ASKER
ok thanks
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
dim this as string
this = "Hello My"
this += "Name is fred"
why don't you want to use the underscore?