How do you sort a dataset?

Answers were Sorted based on User's Feedback



How do you sort a dataset?..

Answer / anjali jain

Correct code must be like this:

DataView myView;
myView = ds.Tables("Customers").DefaultView;
myView.Sort = "<field-name> DESC";

Is This Answer Correct ?    8 Yes 1 No

How do you sort a dataset?..

Answer / vijay

ds.sort()

Is This Answer Correct ?    2 Yes 13 No

Post New Answer

More Dot Net Framework Interview Questions

How to enable Attribute Routing?

0 Answers  


What meant of assembly & global assembly cache (gac) & Meta data

1 Answers  


What is Value type and reference type in .Net

1 Answers  


what is entity framework advantage?

0 Answers   Microsoft,


mention in what all scenarios entity framework can be applicable?

0 Answers   Microsoft,






Explain the difference between viewbag and viewdata in mvc?

0 Answers  


What is entitytype? : Entity framework

0 Answers  


What are multicast delegates ? give me an example

1 Answers  


Can a view be shared across multiple controllers? If yes, how we can do that?

0 Answers  


Tell me the best web-sites for Learning the ASP DOT NET.

3 Answers  


And if they have conflicting method names ?

1 Answers  


what is client wins and store wins mode in entity framework concurrency?

0 Answers   Microsoft,


Categories