Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimized way to transfer from String to StringBuilder
Message
De
04/02/2014 10:37:46
 
 
À
04/02/2014 10:33:16
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01593079
Message ID:
01593116
Vues:
25
>UPDATE : I see you reached the same conclusion re: StringBuilder() :-}
>
>I don't think StringBuilder() will help. Regex() may be the way to go. Maybe Gregory, who has that off pat, will chip in - it's not my strong point :-{

Yes, I took a look at Regex. But, this will not be necessary. The reason I had a long string was because the parsing method parses the entire SQL string. In this case, the longest part is the WHERE IN clause, which does not need any conversion. So, what I do is to cut that off from the parsing method and add it back after. So, basically, I am only dealing with the base SQL, which never gave me any problem so far.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform