performance - Datareader or Dataset in Winform with long trips to database? -


I've got a Winform app that will be used in the US and China. SQL Server 2005 database is in the US, so data access to people in China will be slow. I am making a decision between using a DataReader and a dataset for best performance. Data will be loaded into business items on immediate recovery.

Question: Which is performing better (Detarider / Dataset) pulling data from a distant database? I have read that DataReader goes back to the database for each. (), So if the connection is slow to start with, what dataset would be a better option?

Thanks

Datasets may use more memory, which can be a concern if you are working with too many data.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -