DataView vs. Datasource requery

I

Islamegy®

I have 2 Questions..
1- Is it better to use Dataview To filter and sort Datatables or requery the
datasource??
When i was working in windows appl i found sorting and filtering on client
old machine is slow and need proccessor usage now in asp.net the load is
centralized on the web Server, what is the best way for filter/sort data??

2- In case i will use view sort/filter, I'm working with strong type
collections.. so i'm tring to mimic Dataview in my own CollectionView which
implement ICollectionbase & IBindingList but i need help.. I didn't find
alot of information on google any help plz??
 
S

S. Justin Gengo [MCP]

As long as the server can handle the load filtering data that is already in
memory will always be faster. That is always my first choice whenever I can
do it. For example I wrote a classified advertising search application for
my company. About 50 magazines use it. I cache the initial data searches on
the server and then all searches just use a dataview based on that cache.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top