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

Explain the process of Serialization?

542


What is yield in c#?

490


What is _viewstart cshtml?

469


What is lazy loading c#?

497


Does unity require coding?

509






What is a satellite assembly in c#?

543


Define thread?

572


What is binding in c#?

484


Is namespace a class?

491


Is c# a keyword?

489


What issues can be faced while delivering code?

1469


What do you mean by abstract class in c#?

498


What is array formula?

454


What are strongly typed objects?

477


What are expressions c#?

474