Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check the dataset databindings duplicate key or n
Message
De
22/05/2011 10:03:05
 
 
À
22/05/2011 01:03:23
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01511207
Message ID:
01511396
Vues:
34
1. I want to use code to check the duplicate primary key , then i can write a msg.But how to check ?

And i mainly problem , i can't use Me.CompanyBindingSource.EndEdit() to checking , use this statement will error...
Becuase my dataset ( set a primary , b not allow null ), if primary key has entry ,but b not entry will error in
Me.CompanyBindingSource.EndEdit() , no body how to check it ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform