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 task parallel library?

515


Why do we Need of static class in c#?

650


Is object an int c#?

529


How can I create image pieces/sub image?

492


What is variable and its classification?

534






Why would you use untrusted verification?

540


Why it's said that writing into .NET Application Configuration Files is a Bad Idea?

535


When was .net linq added?

525


Are all methods virtual in c#?

540


Define a class and an object?

563


How to use delegates with events?

561


Is a decimal an integer?

483


What is remote data?

471


What exception can an overridden method throw in comparison with the method it is overriding?

467


Is c# still popular?

495