[Mono-aspnet-list] Dataview Sorting Problem
carol at bulbecks.co.uk
Wed Apr 22 11:27:35 EDT 2009
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.
View this message in context: http://www.nabble.com/Dataview-Sorting-Problem-tp23175526p23175526.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
More information about the Mono-aspnet-list