Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB store block of text to variable
Message
From
19/10/2006 17:49:22
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01163424
Message ID:
01163494
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a matching feature in VB.NET 2005 for the VFP of Text/EndText function.
>
>What I'm wanting to do is put the following into a string variable cSQL.

Alex is right, the best approach would be to use the StringBuilder. If there isn't a way to simulate the same VFP functionality in C#, I doubt there would be one in VB.NET. I haven't seen one so far and this is what I use. If you read your SQL code from an external entity such as a file on disk or a field from a table, then you can store that into a string or a string builder. But, if you are building this line by line, than the string builder is the way to go as you would face severe performance issue if you keep concatening new string content into another string.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform