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

Answer Posted / saurabh sharma

If u r presenting small amount of data, u can pick any option. It will take almost same time. But if u want to load heavy data, for example 50000 rows, use sql data paging and objectdatasource or xmldatasource to fill grid view. use paging option of objectdatasource or xmldatasource to switch between pages.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c# good for web development?

532


Why do we use namespace in c#?

513


What is the difference between dynamic and var in c#?

454


What is clr in c#?

481


Explain about ODP.net

797






Why we use get and set method in c#?

491


What are the two kinds of properties in c#.

523


What does typeof return c#?

497


How long does a loop recorder procedure take?

509


Which is better javascript or c#?

497


How do I open the console window?

565


What is the main purpose of delegates in c#?

503


Which compiler switch creates an xml file from xml comments in the files in an assembly?

574


Is everything an object c#?

487


What is thread.sleep()?

511