Re: DataTable vs DataView

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bruce A. Julseth (bruceajNoSpam_at_attglobal.net)
Date: 02/08/05


Date: Tue, 8 Feb 2005 10:37:20 -0500


"Ken Tucker [MVP]" <vb2ae@bellsouth.net> wrote in message
news:eqWJWYeDFHA.1392@tk2msftngp13.phx.gbl...
> Hi,
>
> A dataview is a customized view of a datatable that supports
> filtering, sorting, and searching.
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdatadataviewclasstopic.asp
>
>
> Ken
> ---------------------
> "Bruce A. Julseth" <bruceajNoSpam@attglobal.net> wrote in message
> news:%23uUIENeDFHA.1524@TK2MSFTNGP09.phx.gbl...
> I'm new to VB.NET and just gettng into database "Learning." How do I
decide
> if I need a DataTable or a DataView.
>
> Thanks...
>
> Bruce
>
>
>

So, if I'm using a datagrid and only want to display and edit the data, I
use a DataTable which I created from my DataAdaptor. If I want to filter,
sort or search my data, I need to use a DataView.

Is my understanding correct?

Bruce



Relevant Pages

  • Re: How to append parameter to Url that has parameters?
    ... it really does depend on how you actually set up the filtering using Input ... I go to hyperlink properties, ... > I have 4 custom lists. ... > So Step1.aspx is a dataview of Company List which shows ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: why dataview.count become 0 when I double click on a datagrid?
    ... a datagrid has a dataview ... Initial filtering result would give the datavew 3 ... > get values out of a dataview that holds 0 items. ... with the current DataRowView. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Filtered Dataview
    ... I have dataview of a projects list. ... This field can contain multiple entries and is a people lookup. ... I get the part about the project members field (I think it is a ... As far as filtering based upon the project on which youre a team ...
    (microsoft.public.sharepoint.portalserver)
  • RE: Filter on Parent-child relation??
    ... arround to find out if the flag was the only way out to a parent filtering. ... > After i bind the first table dataview to a datagrid. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Stopping Rolex spam
    ... new one is a more drastic solution than I'm ready for right now. ... Bruce Hagen wrote: ... > Those are rules for filtering *in* messages which is the only way OE ... > Look at my post from last night to see what I did to resolve my Spam ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)