Long Line to list

  • Thread starter Thread starter dancer
  • Start date Start date
D

dancer

Using ASP.net1.1 and Parameters

I have many more fields to put into this statement.
How can I list them vertically instead of one long line?


Dim MySql AS String = "INSERT INTO Table1(TheEmpName,TheDateOfAccident,
TheBirth, TheLostDays, TheSSN, TheJob, TheSupervisor,
ThePart)VALUES(@TheEmpName, @TheDateOfAccident, @TheBirth, @TheLostDays,
@TheSNN, @TheJob, @TheSupervisor, @ThePart)"
 
use the underscore character ( _ ) to split line?

Dim MySql AS String = "INSERT INTO Table1(TheEmpName,TheDateOfAccident, _

TheBirth, TheLostDays, TheSSN, TheJob, TheSupervisor, _

ThePart)VALUES(@TheEmpName, @TheDateOfAccident, @TheBirth, @TheLostDays, _

@TheSNN, @TheJob, @TheSupervisor, @ThePart)"
is that what you want?

Lit
 
I had tried that. I also tried using & _. I also tried putting & at the
beginning of the next line. But I always get this error:
String constants must end with a double quote
 

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

Back
Top