In c#.Net Application For DataGridview binding which method is faster in below two case?Why..?
1)looping-Using For loop
2)Databinding direct using Dataset
Answer Posted / shir
Using for loop is faster since the data will be populated as
soon as it is read using the data reader which is one way
read only process.
But when data set is used,
1. It internally makes use of the data reader in order to
populate the data set.
2. It takes huge amount of data enire amount of which might
not be required.
3. Later we will have to iterate throught DS to fill the
data grid
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between C# 3.5 and C# 4.0?
What is the difference between asp net and c#?
Describe ado.net?
What is an Interface in C#?
What is the difference between dispose() and finalize() methods in c#?
What is c# console application?
What is cosole application?
What are nested classes in c#?
Why is static constructor called first?
Is unboxing an implicit conversion?
Can constructor be overloaded in c#?
Can int be null in c#?
Does c# have primitives?
If you define a user defined data type by using the struct keyword, is it a value type or reference type?
Is dictionary a collection?