[Mono-aspnet-list] Dataview Sorting Problem

Stifu stifu at free.fr
Wed Apr 22 12:18:10 EDT 2009


This is definitely a bug. And it doesn't look like it's been reported.
Just in case, are you using Mono 2.4?


Trillabee wrote:
> 
> I hope that someone can help. I am using a universal read method in the
> application I am building that uses a DataView to sort data. The sort does
> not seem to be working and I was wondering if anyone can tell me of any
> Mono compatibility issues that might be causing a problem. The code
> functions correctly using Visual Studio, but when we port it to Mono the
> sorting is ignored. I have tried searching for known issues with Mono
> sorting and have not been able to find anything. 
> 
> The code that does the sorting in the read method is as follows:
>             if (dataTable != null)
>             {
>                 if (sort == null) sort = "";
>                 if (filter == null) filter = "";
>                 if ((sort.Trim() != "") || (filter.Trim() != ""))
>                 {
>                     DataView dataView = new DataView(dataTable);
>                     dataView.Sort = sort;
>                     dataView.RowFilter = filter;
>                     dataTable = dataView.ToTable();
>                 }
>             }
> 
> I hope someone can help I am quite new to Mono.
> Thanks
> 
> 

-- 
View this message in context: http://www.nabble.com/Dataview-Sorting-Problem-tp23175526p23175545.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list