BO.Sort for date


Author
Message
Chan
Chan
Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)Advanced StrataFrame User (725 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I try to sort my data in my BO using the code below.

However, it doesn't work. Listview always show the records using PK order. I have listview.sorting = none as well.

Any ideas?

this.itemPricesBO.FillByParentPrimaryKey(this.itemsBO.ItemID);
this.itemPricesBO.Sort = "FromDate ASC";
this.lvItemPrices.Requery();


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Chan - 17 Years Ago
Chan - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                 Hi,
Thank you for reply.
I have tried myBO.Sort =...
Chan - 17 Years Ago
Trent L. Taylor - 17 Years Ago
                         Hi, Yes, I have set lvPrices.PopulateDataSourceSettings to...
Chan - 17 Years Ago
                             Yes,you have to use the CopyDataFrom(DataTable,..) rather than the...
Trent L. Taylor - 17 Years Ago
                                 Hi, OK, the sorting works. Thank you. However, I hit the strange...
Chan - 17 Years Ago
StrataFrame Team - 17 Years Ago
             You saved my life!!!! Thank you
Chan - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search