emi_sastra
asked on
Looping through datagridview and dataset ?
Hi All,
I want to know which one is faster ?
Thank you.
I want to know which one is faster ?
Thank you.
Depends on what you need from the loops, but in general the fastest way would be to work with the Data, which means the Dataset (assuming your DGV is based on a Dataset, of course).
ASKER
Hi Ryan,
- any reasons you want to looping through datagridview and/or dataset?
My datagridview is bound to dataset.
Sometimes I want to looping it to do something.
Thank you.
- any reasons you want to looping through datagridview and/or dataset?
My datagridview is bound to dataset.
Sometimes I want to looping it to do something.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi All,
My understanding from your point of view is using dataset should be faster than gridview in terms of using plain data.
We could use LINQ to search if using dataset.
Thank you very much.
My understanding from your point of view is using dataset should be faster than gridview in terms of using plain data.
We could use LINQ to search if using dataset.
Thank you very much.
any reasons you want to looping through datagridview and/or dataset?