Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you sort a dataset?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ado.net data provider? : Entity framework

1065


Explain the request flow in asp.net mvc framework?

1020


mention in what all scenarios entity framework can be applicable?

1416


List the new features added in .net framework 4.0.

958


What is renderbody?

1057


What are the sub types of ActionResult?

1151


Explain the 'page lifecycle' of an ASP.NET MVC?

1149


Explain Sections is ASP.Net MVC?

1146


Explain the advantages of dependency injection (di) in asp.net mvc?

1061


what is complex type?

1020


what is use of entity container?

1065


Why to use Html.Partial in ASP.Net MVC?

1138


What is the difference between ViewData, ViewBag and TempData?

1090


Possible ways to prevent xss attacks on mvc application?

1011


How route table is created in ASP.NET MVC?

1073