In case anyone needs. I fixed the issue by adding additional sort on output
IList.
Code:
System.Collections.ArrayList.Adapter(listItems).Sort();
> From: [email protected]
> To: [email protected]
> Date: Mon, 15 Feb 2010 19:58:25 -0800
> Subject: [WiX-users] Getting list items in order from ListBox.
>
>
> Hi All,
>
> Need help... I am using following code to get ordered list of items from a
> list box, used ORDER BY clause. It works all fine, however in few random
> cases the resulted list is not orders by Values.
>
>
>
>
>
> listItems = session.Database.ExecuteQuery("SELECT `Value` FROM ListBox WHERE
> ListBox.Property = '{0}' ORDER BY `Value`", listBoxProperty);
>
>
>
> Am I missing anything?
>
> Any pointer would be appreciated. I can provide more details if that help.
>
>
>
> Thanks
>
> Sachin!
>
>
>
>
> _________________________________________________________________
> Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
> http://clk.atdmt.com/GBL/go/201469229/direct/01/
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users