Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From System.Collections.Generic.IEnumerable to string
Message
De
05/05/2015 16:30:54
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619437
Message ID:
01619440
Vues:
36
>Do you want to concatenate all strings in that collection into one final string? If yes, I would probably use StringBuilder and loop through collection.

So far, I have this:
                                Dim lcFinal As String = ""
                                Dim lcString As String = ""

                                For Each lcString In loEventLogRecord.KeywordsDisplayNames
                                    lcFinal = lcFinal + lcString
                                Next
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