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 / velmahesh

Answer is , Databinding direct using Dataset..

Reason for if we store database values to dataset. then
values are binding shortly..

but, if use the for loop, that statement will execute
upto limit. so, it will take some seconds..

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the versioning applies to Assemblies or can you explain version numbers?

569


Can you instantiate an abstract class c#?

507


Why do we use public static void main in c#?

472


What is this keyword in C#?

586


What is the difference between serialization and deserialization in c#?

453






What are the benefits of using the aggregate method in linq?

505


What is method in c#?

477


Write a program in c# to find the angle between the hours and minutes in a clock?

487


How do you set a class path?

447


Contrast between an interface and abstract class?

543


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1534


What is datacontract in c#?

487


What is the default value of singleordefault?

494


What is the difference between interface and abstract class in c#?

464


What is literal in c#?

473