Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check the dataset databindings duplicate key or n
Message
From
22/05/2011 10:03:05
 
 
To
22/05/2011 01:03:23
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01511207
Message ID:
01511396
Views:
33
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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform