DefaultView.Sort resetting problem
Hi all,
I need help with this code:
DataAdapter1.Fill(DataSet1);
DataSet1.Tables[0].DefaultView.Sort = "sortcolumn";
BindingSource1.DataSource = DataSet1.Tables[0].DefaultView;
After execution, the "DataSet1.Tables[0].DefaultView.Sort" property is reset to empty string.
What might be the cause of this, and how can this be avoided?
Thanks