Re: String foreach problem

Tech-Archive recommends: Speed Up your PC by fixing your registry



"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?.



.



Relevant Pages

  • Re: String foreach problem
    ... It could be hundreds of kilobytes or larger for all we know. ... The poster is using a DataGrid. ... It's not good practice to put a large number of items in a DataGrid. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Printing WebForm - server-side system
    ... Printing the webform like a shot will bring problems when dealing with ... datagrid and paging, right? ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: DataGridTableStyle problem
    ... Here is a link to one of the best locations I have used for dealing with the ... Would send you a fix, but don't have time so I thought you might be ... > Instrument table and a joined Parameters table. ... The DataGrid that is ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Datagrid: Phantom-Eintrag in der linken oberen Zelle
    ... But I think for that the datagrid is not a 'data-bound grid' ... The moment you start dealing with DataSource you DEFINITELY have a ...
    (microsoft.public.vb.controls)