Click here to Skip to main content
15,904,156 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Performace the smart client Pin
Dave Kreskowiak23-Aug-04 6:49
mveDave Kreskowiak23-Aug-04 6:49 
GeneralRe: Performace the smart client Pin
Marcus Travaglia23-Aug-04 10:42
sussMarcus Travaglia23-Aug-04 10:42 
GeneralRe: Performace the smart client Pin
Dave Kreskowiak24-Aug-04 0:24
mveDave Kreskowiak24-Aug-04 0:24 
GeneralRe: Performace the smart client Pin
Marcus Travaglia24-Aug-04 3:36
sussMarcus Travaglia24-Aug-04 3:36 
GeneralRe: Performace the smart client Pin
Dave Kreskowiak24-Aug-04 5:11
mveDave Kreskowiak24-Aug-04 5:11 
GeneralRe: Slow performace of the smart client Pin
Marcus Travaglia24-Aug-04 9:57
sussMarcus Travaglia24-Aug-04 9:57 
GeneralRe: Slow performace of the smart client Pin
Dave Kreskowiak24-Aug-04 16:46
mveDave Kreskowiak24-Aug-04 16:46 
GeneralDataSet.Merge - Merging Errors Pin
mikasa23-Aug-04 3:57
mikasa23-Aug-04 3:57 
Ok, I have tried everything there is and I cannot get data to Merge into a DataSet. I have done this before, but now I am having problems with this particular piece of code. Here is the Error:

Constraint Exception: 
System.Data.ConstraintException: Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
   at System.Data.DataSet.FailedEnableConstraints()
   at System.Data.DataSet.EnableConstraints()
   at System.Data.DataSet.set_EnforceConstraints(Boolean value)
   at System.Data.Merger.MergeDataSet(DataSet source)
   at System.Data.DataSet.Merge(DataSet dataSet, Boolean preserveChanges, MissingSchemaAction missingSchemaAction)
   at...


The DataSet is retrieved from the DB the first time fine. The DataSet contains 4 DataTables as well as some DataRelations. The 2nd time around, when I am trying to refresh the Data from the DB (but Preserve my changes) I get the above Error.

It is absolutely impossible, beyond any doubt, that there are "NULL" values in any Primary Keys or F-Keys used within the DataRelations. What can be causing this? Mad | :mad:
GeneralRe: DataSet.Merge - Merging Errors Pin
Dave Kreskowiak23-Aug-04 8:38
mveDave Kreskowiak23-Aug-04 8:38 
GeneralRe: DataSet.Merge - Merging Errors Pin
mikasa24-Aug-04 2:28
mikasa24-Aug-04 2:28 
GeneralPassing array of double to ActiveX control Pin
Steve Pachasa23-Aug-04 2:52
Steve Pachasa23-Aug-04 2:52 
GeneralRe: Passing array of double to ActiveX control Pin
S Sansanwal23-Aug-04 12:47
S Sansanwal23-Aug-04 12:47 
GeneralFacing Problem while calling with FOR EACH st. in VB from C# DLL Pin
Ami Shah23-Aug-04 2:01
Ami Shah23-Aug-04 2:01 
GeneralRe: Facing Problem while calling with FOR EACH st. in VB from C# DLL Pin
Anonymous23-Aug-04 5:31
Anonymous23-Aug-04 5:31 
GeneralMCP Pin
nurmat23-Aug-04 1:21
nurmat23-Aug-04 1:21 
GeneralRe: MCP Pin
mikasa23-Aug-04 3:45
mikasa23-Aug-04 3:45 
GeneralRe: MCP Pin
Mekong River23-Aug-04 4:15
Mekong River23-Aug-04 4:15 
GeneralRe: MCP Pin
S Sansanwal23-Aug-04 12:27
S Sansanwal23-Aug-04 12:27 
GeneralMenu icons Pin
Werner Vos23-Aug-04 0:11
Werner Vos23-Aug-04 0:11 
GeneralRe: Menu icons Pin
Mekong River23-Aug-04 5:35
Mekong River23-Aug-04 5:35 
GeneralMSFlexGrid Pin
johnjsm22-Aug-04 23:01
johnjsm22-Aug-04 23:01 
GeneralRe: MSFlexGrid Pin
mikasa23-Aug-04 0:21
mikasa23-Aug-04 0:21 
GeneralRe: MSFlexGrid Pin
johnjsm24-Aug-04 1:09
johnjsm24-Aug-04 1:09 
GeneralRe: need help Pin
Mekong River23-Aug-04 5:32
Mekong River23-Aug-04 5:32 
GeneralRe: need help Pin
Member 90460523-Aug-04 15:09
Member 90460523-Aug-04 15:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.