Re: Add row to datagrid without underlying table?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jim (none)
Date: 07/28/04


Date: Wed, 28 Jul 2004 17:47:26 -0400

Thanks for the post.
I need to display many rows of data without having to store all the data in
memory. If I load it in a datatable, the datatable will start filling up and
it'll consume most (if not all) of the PC's memory. I only want to display
the data, not store it in memory.

"Kai Brinkmann [MSFT]" <kaibrink@online.microsoft.com> wrote in message
news:e96FOnOdEHA.3560@TK2MSFTNGP10.phx.gbl...
> Jim,
>
> I'm not entirely sure I understand your question. A datagrid must have a
> data source, but this doesn't have to be a DataTable. In fact, it could be
> any component that implements the IList or IListSource interface, so even
a
> simple ArrayList is valid. The datagrid shows the items in the data
source,
> so you can add rows by adding items to the underlying data source. By
> default, users can also modify or delete existing items (rows) or add new
> ones in the UI, and those changes can persist in the data source.
>
> I hope this helps. I might be able to provide more info if you can clarify
> just what you're trying to accomplish.
>
> --
> Kai Brinkmann [MSFT]
>
> Please do not send e-mail directly to this alias. This alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "Jim" <none> wrote in message
news:O$QwxVOdEHA.3704@TK2MSFTNGP09.phx.gbl...
> > is it possible to add a row to a Windows datagrid witthout having a
> > datatable? I need to add a row to the datagrid control.
> >
> > Thanks.
> >
> >
>
>



Relevant Pages

  • Re: Add row to datagrid without underlying table?
    ... I'm afraid a datagrid may not be the correct choice for you then. ... representation of this data in memory. ... be used independently of its data source. ... display ADO.NET data. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Exchange 2003 Private Store Corruption
    ... Once you've pulled the faulty RAM, create the new mailbox store and move ... then you can start working on the problem mailboxes. ... have DIMM's installed in pairs in this server? ... Online Diagnostic Utility says "Correctable Memory Threshold Exceeded" ...
    (microsoft.public.exchange.admin)
  • Re: Can operant conditioning account for all learning?
    ... are not replaying the raw sensory data form that event. ... problems your high level abstractions didn't recognize. ... I would suggest it uses the same amount of memory more ... Most likely the brain doesn't store things in ...
    (comp.ai.philosophy)
  • mm/ hacks -- Generic memory store?
    ... I want to do a memory management hack for generic memory stores. ... "store" for excess memory before OOM. ... RAM swap ... store would be capable of providing compression or encryption. ...
    (Linux-Kernel)
  • Re: Exchange 2003 Private Store Corruption
    ... Information Store First Storage Group: The database page read from ... Online Diagnostic Utility says "Correctable Memory Threshold Exceeded" ... the server back up and running without the faulty memory installed. ...
    (microsoft.public.exchange.admin)