DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 14 Aug 2007 19:19:39 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    dancer
          2    Lit
                 3    dancer
                        4    dancer


Long Line to list   
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)"
Date:Tue, 14 Aug 2007 19:19:39 -0400   Author:  

Re: Long Line to list   
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



"dancer"  wrote in message 
news:%23ndHXms3HHA.5184@TK2MSFTNGP02.phx.gbl...

> 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)"
> 
Date:Tue, 14 Aug 2007 17:17:04 -0700   Author:  

Re: Long Line to list   
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



"Lit"  wrote in message 
news:extydGt3HHA.5980@TK2MSFTNGP04.phx.gbl...

> 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
>
>
>
> "dancer"  wrote in message 
> news:%23ndHXms3HHA.5184@TK2MSFTNGP02.phx.gbl...
>> 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)"
>>
>
> 
Date:Wed, 15 Aug 2007 08:50:46 -0400   Author:  

Re: Long Line to list   
Never mind.  I realized I have to use vbCrLf _
Thanks.

"dancer"  wrote in message 
news:Ogv9Esz3HHA.5360@TK2MSFTNGP03.phx.gbl...

>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
>
>
>
> "Lit"  wrote in message 
> news:extydGt3HHA.5980@TK2MSFTNGP04.phx.gbl...
>> 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
>>
>>
>>
>> "dancer"  wrote in message 
>> news:%23ndHXms3HHA.5184@TK2MSFTNGP02.phx.gbl...
>>> 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)"
>>>
>>
>>
>
> 
Date:Wed, 15 Aug 2007 09:38:05 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us