Page 1 of 1

Sort two fields at runtime

Posted: Mon Dec 20, 2010 11:09 am
by so29
hi
Sort a field for this code is used

Code: Select all

DataBand1.Sort = new string[2]
{
"ASC",
"Name"
};
How the two fields should be sorted ؟؟

thank you

Sort two fields at runtime

Posted: Mon Dec 20, 2010 12:00 pm
by Brendan

Code: Select all

DataBand1.Sort = new string[]
{
    "ASC",
    "Field1",
    "ASC",
    "Field2"
};

Sort two fields at runtime

Posted: Tue Dec 21, 2010 12:50 am
by so29
thank you Brendan
kiss you :kiss: