Re: String foreach problem
- From: "Mark Wilden" <mwilden@xxxxxxxxxxxxxxxx>
- Date: Wed, 11 Jul 2007 10:32:41 -0700
"Peter Duniho" <NpOeStPeAdM@xxxxxxxxxxxxxxxx> wrote in message
news:op.tu76dukk8jd0ej@xxxxxxxxxxxxxxxxxxxxxxx
Seriously though: you and I have no idea what the length of the string
is. It could be hundreds of kilobytes or larger for all we know.
It may well be that the OP is dealing with just a few rows of data and
thus concatenation is fine. But it is just as true that for all we know
he's got thousands of rows of data, and that using a StringBuilder would
in fact be noticeably better.
The poster is using a DataGrid. It's not good practice to put a large number
of items in a DataGrid. What would the user do with thousands of rows?.
.
- Follow-Ups:
- Re: String foreach problem
- From: Peter Duniho
- Re: String foreach problem
- From: Mythran
- Re: String foreach problem
- References:
- String foreach problem
- From: ApeX
- Re: String foreach problem
- From: Göran Andersson
- Re: String foreach problem
- From: Mark Wilden
- Re: String foreach problem
- From: Peter Duniho
- String foreach problem
- Prev by Date: Re: copy from pointer to pointer
- Next by Date: Re: copy from pointer to pointer
- Previous by thread: Re: String foreach problem
- Next by thread: Re: String foreach problem
- Index(es):
Relevant Pages
|