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

Answer Posted / shiva

Depending on the requirement either we can go for Dataset
or Datareader.If the information which we are trying to
access is less then best and fastest way is to go for
Datareader in all other scenarios Dataset can be used.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is virtual method in c#?

948


Define c# and list the features.

763


Why do we use namespace in c#?

735


What are the string functions in c#?

769


How do I do implement a trace?

805


If casting fails what type of exception is thrown?

680


What is a hash table c#?

677


Is c# an open source?

701


What operator means?

683


What are the benefits of using the aggregate method in linq?

745


What are the different states of a thread?

737


What are extender provider components? Explain how to use an extender provider in the project.

705


What is the use of GC.KeepAlive Method?

931


How to achieve polymorphism in c#?

758


Explain the difference between class and interface in .net?

677