Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Line 2960:            this.Adapter.SelectCommand = this.CommandCollection[5];
Line 2961:            CDS.ADDJOB_SELECTDataTable dataTable = new CDS.ADDJOB_SELECTDataTable();
Line 2962:            this.Adapter.Fill(dataTable);
Line 2963:            return dataTable;
Line 2964:        }


What I have tried:

public partial class AddEducation : System.Web.UI.Page
   {
       SDS.SELECT_ADDEDUDataTable EDT = new SDS.SELECT_ADDEDUDataTable();
       SDSTableAdapters.SELECT_ADDEDUTableAdapter EAdapter = new SDSTableAdapters.SELECT_ADDEDUTableAdapter();
Posted
Updated 22-Jul-17 4:30am

1 solution

This is a generic error message, which can be caused by several things (and most of them aren't SQL related).
See here: failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints. - Google Search[^] and you will find most of teh common problems, and how to fix them.

We can't do that for you - we don't have access to your table or your database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900