Re: How do I...
- From: "Bryan Dickerson" <txprphan@xxxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 11:18:20 -0500
Ok, how do I specify which columns to include in the DataView? Oh, and
thanks for your patience with me!
"Cor Ligthert" <notmyfirstname@xxxxxxxxx> wrote in message
news:uCPAdIVeFHA.2548@xxxxxxxxxxxxxxxxxxxxxxx
> Bryan,
>
> It was confusing for me as well in the beginning.
>
> Every datatable holds a dataview which is named the defaultview.
> However you can use it to set by instance the sort order of a datatable in
> a dataview
>
> dt.defaultview.sort = "MySortColumn"
>
> is the same as
> dim dv as dataview = dt.defaultview
> dv = "MySortColumn"
> (and use than dv)
>
> div dv as new dataview(dt)
> dv = "MyOtherSortColumn"
>
> Means that you use an extra dataview and can show the datatable on two
> different controls in two different sort orders
>
> I hope that this gives an idea
>
> Cor
>
>
.
- Follow-Ups:
- Re: How do I...
- From: Cor Ligthert
- Re: How do I...
- References:
- How do I...
- From: Bryan Dickerson
- Re: How do I...
- From: Herfried K. Wagner [MVP]
- Re: How do I...
- From: Bryan Dickerson
- Re: How do I...
- From: Herfried K. Wagner [MVP]
- Re: How do I...
- From: Bryan Dickerson
- Re: How do I...
- From: Cor Ligthert
- Re: How do I...
- From: Bryan Dickerson
- Re: How do I...
- From: Cor Ligthert
- How do I...
- Prev by Date: Re: Need to sort ListView columns that contain dates
- Next by Date: Re: Checking for a valid date
- Previous by thread: Re: How do I...
- Next by thread: Re: How do I...
- Index(es):