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
How to create events for a control? What is custom events? How to create it?
Can extension methods access private members?
Can a sealed class be used as a base class?
Is vs as c#?
1. Describe page life cycle?
What is different between Implicit conversion and Explicit conversion in C#?
What is int32 in c#?
what is the difference between .dll and .exe
What is difference between singleordefault and firstordefault?
How can you set image source dynamically from c# application to ”test.png” file?
Is null in c#?
Explain anonymous type in c#?
Define a strong name in .net?
Illustrate race condition?
How do you define a predicate?