What is the best method to fill the GridView. using
SqlDataReader or Dataset and why

Answer Posted / justgovi

Datareader is the best way to fill the grid view.
Datareader is faster and the main purpose of it is to be
used in read only scenarios.

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the data encapsulation?

550


What is the difference between IEnumerator and IEnumerable?

775


How is a strongly-named assembly different from one that isn’t strongly-named?

691


Which is faster iqueryable or ienumerable?

651


what are some characteristics of an array?

603






Is array ienumerable c#?

561


What is the default value of decimal in c#?

586


Major difference between Basic httpbinding and WShttpbinding?

670


Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

584


How do you prevent a method from being overridden in c#?

555


Is c# strongly typed?

551


What is the difference between namespace and class?

513


What is yield keyword?

579


Can we change static variable value in c#?

569


i want o/p 011242110 in c# code.

1731