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.
Unfortunately, activation email could not send to your email. Please try again.

How to remove sorting from dataview

Thread ID:

Created:

Platform:

Replies:

7368 Sep 23,2003 01:29 AM Windows Forms 0
loading
Tags: FAQ
Ramunas Balukonis
Asked On September 23, 2003 01:29 AM

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

CONFIRMATION

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.

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.

;