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 are some of the commonly used commands in sqlcommand?

703


Can abstract class be instantiated c#?

722


Is python easier than c#?

721


How many types of constructors are available in c#?

742


Is c# an array?

670


What are the two kinds of properties in c#.

695


Why do we use dataset in c#?

707


Can u list some style properties of List Box?

700


what is the difference between a struct and a class in c#?

803


What is icollection in c#?

708


What does int32 mean?

673


What is difference between array and list in c#?

639


What is serialization and deserialization in c# with example?

676


What is delimiter in c#?

679


How do I do implement a trace and assert?

787