Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In c#.Net Application For DataGridview binding which method is faster in below two case?Why..?
1)looping-Using For loop
2)Databinding direct using Dataset

Answer Posted / hardit

if we are using " reader " in data retrieving ,it will be faster as it will only read values required.

but in the case of dataset which is a very heavy object it will take more time corresponding to reader in for loop.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are strings in c#?

991


How do I move from one form to another in c#?

932


What do you mean by saying a "struct is a value type"?

964


Is there a way of specifying which block or loop to break out of when working with nested loops?

1059


What do you mean by saying a "class is a reference type"?

958


Can you explain template pattern?

1092


What is the use of dll file in c#?

941


Describe ways of cleaning up objects in c#.

946


Tell me the difference between call by value and call by reference.

1016


Can a class be private in c#?

1037


Describe an abstract class?

1036


What is querystring in c#?

967


What is c# entity framework?

967


How can i Spawn a Thread

949


what are nullable types in c#

1088