Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Go top a specified row in a table
Message
From
06/11/2004 02:32:44
 
 
To
05/11/2004 13:43:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00957940
Message ID:
00958773
Views:
17
Cetin,

Follow-up: I did some reading. As it turns out, a RowFilter CAN indeed reference a description from a parent table, providing a relation has been established.

So in the example of account name, a rowfilter syntax to search for ACME could be...
myTable.DefaultView.RowFilter = "Parent(Rel_Accts).AcctName LIKE '%ACME%'" ;
My example used multiple relations (to show how data from related tables could be displayed in a grid). With this information, I can evaluate each searchable column just once (as you described), determine if it's a base column or a related column, and build the rowfilter syntax accordingly.

That's what I wanted to do initially, but thought that the RowFilter capability was limited to columns for that datatable.

I still believe that 100,000 rows is excessive, but this will handle it much better.

I've made the changes, and yes, now it runs in just a few seconds. I just need to test it one last time, and then I'll post an update on my website.
Thanks again for your observations, they prompted me to re-evaluate.

Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform