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 a console?

588


What can be done with c#?

527


What is a dynamic assembly?

620


What is a static field?

581


How do you declare an interface in c#?

565






What is garbage collector and where should you use in .NET?

591


What does the keyword “virtual” declare for a method or property?

626


Is a c# interface the same as a c++ abstract class?

643


What are the applications of c#?

551


How does foreach loop work in c#?

571


Can you specify nested classes as partial classes?

605


What is a delegate in c#?

589


What is event and delegates in c#?

652


Define the term immutable ?

717


What are events in C#?

640