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

I'm anfinal yr. engg. student with knowledge of .net. I want to refurnish my knowledge for interview purpose. Which institute is good....I am confused among Peers, Naresh it, Deccansoft...Plz help me to select the right institute.....

9 Answers  


Mention the core components of .net framework?

0 Answers  


What is Layout in ASP.Net MVC?

0 Answers   B-Ways TecnoSoft,


How the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred?

1 Answers   Deloitte,


Can you explain model, controller and view in mvc?

0 Answers  






What is the significance of nonactionattribute?

0 Answers  


Can you declare an override method to be static if the original method is non-static

1 Answers  


What is attribute routing in mvc?

0 Answers  


What is the difference between string and String

1 Answers  


Is the lack of deterministic destruction in .NET a problem

1 Answers  


How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?

0 Answers  


What is edm (entity data model)? : Entity framework

0 Answers  


Categories