Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mover Control Non Int Primary Key
Message
De
10/05/2005 11:46:16
Ben Dornis
Infolink Screening Services
Chatsworth, Californie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01012259
Message ID:
01012460
Vues:
15
Kevin,

After reading your source code, it in fact does matter, the PK can't be anything but an INT for the mover control to work, even if the db has a smallint it doesn't work. I have confirmed this with others around here.

It's under the "MoveItem" function of the mmmovercontrol

protected virtual void MoveItem()
{
if (AvailablePK is int)
{
...
}
}

Above is the extracted code, that's why it doesn't work.

Thanks for your help, Took forever to figure out what was wrong.

-Ben
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform