Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with ApplySort
Message
 
À
02/06/2010 18:44:35
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Oracle
Application:
Desktop
Divers
Thread ID:
01467125
Message ID:
01467399
Vues:
41
Brad,

>We're having a problem with ApplySort for an mmBindingList. Specifically, in some cases the following code crashes -- I've inserted what I think is the crash log below.
>
> if (dt.Count > 0)
> dt.ApplySort(e.SortPropertyName, dtDirect);
>
>One example is e.SortPropertyName is "EFFECTIVE_BEGIN_DT", and it's a column of 4 datetime values. None of them seem to be null or anything special.
>
>In some cases, the system just seems to lock up, rather than causing a proper exception. The problem can also happen on numeric column, but I haven't seen it happen on a text column yet.
>
>It almost seems like ApplySort only works on string fields, although it doesn't seem to give a proper error message to that effect.

I also received your direct e-mail message and am looking into this...

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform