Click here to Skip to main content
15,896,915 members
Home / Discussions / Database
   

Database

 
GeneralRe: Inserting Rows into Typed DataSets Pin
Edbert P9-Jun-04 20:16
Edbert P9-Jun-04 20:16 
GeneralVC++ ADO Recordset Close Vs NULL Pin
Nemikesoria8-Jun-04 4:47
Nemikesoria8-Jun-04 4:47 
Generalsql reporting services Pin
robmays8-Jun-04 4:03
robmays8-Jun-04 4:03 
GeneralADO & GUID & C++ Pin
Mobileware8-Jun-04 0:46
Mobileware8-Jun-04 0:46 
QuestionI want to do a ETL tool. ADO is feasible? Pin
utiao7-Jun-04 21:27
utiao7-Jun-04 21:27 
AnswerRe: I want to do a ETL tool. ADO is feasible? Pin
Anonymous11-Jun-04 9:47
Anonymous11-Jun-04 9:47 
GeneralOracle REF Cursor and Generic DAL Pin
Vasudevan Deepak Kumar7-Jun-04 17:55
Vasudevan Deepak Kumar7-Jun-04 17:55 
GeneralProblem using table aliases in ADO.net dataset Pin
frank217-Jun-04 11:06
frank217-Jun-04 11:06 
Hello, I have an access db that uses a recursive structure to store data i.e. there is a parts table (but there are three levels in the structure feature bill, level1 package, and then parts but they are all considered a part in the database I am extracting the nesting ability from an attribute in the parts table called style. Depending on the value of style i.e. style = 0 its a part, style = 1 it is level1package and style = 2 it is a feature bill) I am trying to generate a report that will show me for every feature bill, what level1 packages are in it and what parts are in each one of those packages. So I am essentially showing all the hierarchical levels of nesting. I am attempting to do this buy using a dataset that has multiple instances of my packages table(packages table is essentially the child element of the parts table) and linking the child node to the parent node each time until I reach the maximum amount of nesting I want. Can anyone help me out with setting up the dataset correctly? I am running into the following error:

: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.DataTable.EndLoadData()
at System.Data.Common.DbDataAdapter.FillFromReader(Object data, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
at System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)

I am not sure how to fix the problem and any help would be greatly appreciated, thanks in advance!



Frank
GeneralReturn ID from Insert Query Pin
RDoes7-Jun-04 3:56
RDoes7-Jun-04 3:56 
GeneralRe: Return ID from Insert Query Pin
GISnet7-Jun-04 5:43
GISnet7-Jun-04 5:43 
Generalcode for db access in C# Pin
Md Saleem Navalur7-Jun-04 2:32
Md Saleem Navalur7-Jun-04 2:32 
GeneralRe: code for db access in C# Pin
GISnet7-Jun-04 5:48
GISnet7-Jun-04 5:48 
Generalexport to access Pin
suzyb7-Jun-04 1:52
suzyb7-Jun-04 1:52 
GeneralRe: export to access Pin
GISnet7-Jun-04 5:54
GISnet7-Jun-04 5:54 
GeneralRe: export to access Pin
Mike Ellison7-Jun-04 9:59
Mike Ellison7-Jun-04 9:59 
Generaldb @ pocket pc Pin
ting6687-Jun-04 0:23
ting6687-Jun-04 0:23 
GeneralRe: db @ pocket pc Pin
Richard Jones8-Jun-04 6:18
Richard Jones8-Jun-04 6:18 
GeneralSQL Enterprise Manager Question Pin
matthias s.6-Jun-04 21:51
matthias s.6-Jun-04 21:51 
GeneralAnswer Pin
matthias s.6-Jun-04 22:01
matthias s.6-Jun-04 22:01 
QuestionCould OdbcCommandBuilder be used on db2 or oracle? Pin
Paul Lo6-Jun-04 21:29
Paul Lo6-Jun-04 21:29 
GeneralBinding Multiple Relational Tables to different Controlls Pin
EmanAli6-Jun-04 20:21
EmanAli6-Jun-04 20:21 
GeneralGenerate SQL Script Pin
Sarvesvara (BVKS) Dasa5-Jun-04 23:46
Sarvesvara (BVKS) Dasa5-Jun-04 23:46 
GeneralRetreiving Data as XML from MS SQL server Pin
pelos5-Jun-04 7:09
pelos5-Jun-04 7:09 
GeneralRe: Retreiving Data as XML from MS SQL server Pin
pelos5-Jun-04 21:43
pelos5-Jun-04 21:43 
GeneralRe: Retreiving Data as XML from MS SQL server Pin
Xiangyang Liu 刘向阳7-Jun-04 4:15
Xiangyang Liu 刘向阳7-Jun-04 4:15 

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.