We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove sorting from dataview

Thread ID:




7368 Sep 23,2003 05:29 AM UTC WinForms 0
Tags: FAQ
Ramunas Balukonis
Asked On September 23, 2003 05:29 AM UTC

Hello, I have a dataview, source of dataview is a view from sql server. Dataview is sorted, like this: dv_building.Sort = "bld_number", this dataview is a datasource to my datagird1: DataGrid1.DataSource = dv_building. Now I want to remove sorting dv_building.Sort = String.Empty, but the view of my data grid was changed, because sorting was removed, ie dataview was returned to their default sorting, probably by clustered index. How can I remove sorting, but the actual sorting remain by bld_number? Is it possible? Thanks Ramunas Balukonis


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon