in fact I realize that I could have a dataview as my data are just selected
with a criteria like column X equals Y
anwyay I found that the building of DataView through RowFilter to be slow.
I need to build DataView on user clic, and found that, even in a small
DataTable, it took a noticeable time (or maybe it was for my editor control
to appear, I don't know) so I was thinking to do the search myself (I know
the column type, I don't have to parse a string)
"William Ryan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> DataTable has a .Select method that may get you what you want. When you
say
> that you aren't using a RowFilter, is that a necessary thing? Rowfilters
> seem made to order for what you want to do. There are many ways to get
what
> you want, but it depends on knowng what is the ultimate goal. You can use
a
> DataSet.GetChanges and then set its filter for things like Added, Modified
> etc if this is what you want.
>
> You can create a DataView off of ANY datatable, so there's most likely no
> need to create a seperate table.. you can use the filter on the primary
> table. But if you need to, you can create a second table and then a view,
> and then filter it from there.
>
> Let me know what you want to do...I can be of more help.
>
> Cheers,
>
> bill
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:(E-Mail Removed)...
> > I have a program manipulating DataTable and doing search in it
> > and returning a subset of them ...
> > moreover I don't use row filter but do the search 'manually'
> > is there a way I could create my DataView manually from this resul set ?
> >
> >
>
>
|