Information générale
Catégorie:
The Mere Mortals .NET Framework
I found the problem I'm having in the mover control.
The moveitem method get the selectedvalue and then checks to see if it is int.
if (AvailablePK is int)
my PK value is stored as bigint in SQL Server so is coming across as Long and is bypassing all the move code because it fails the if conditional.
Any ideas on a fix that wont require changing the field?
I overrode the functioon and add an or to the conditional to check for long and its working fine. You may want to change the frameworks class.
Thanks
Brian Grant
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement