Skip to main content

Table and Details Object Sorted by a Certain Column

The following code example loads sequentially by the Text1 field in the Details1 object.

public void Edit()

{

DataView dv = Details1.Data.DefaultView;                                

dv.Sort = "Text1 DESC";

Details1.Data = dv.ToTable();

}