By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,157 Members | 1,385 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,157 IT Pros & Developers. It's quick & easy.

"Failed to enable constraints" on Table Adapter

P: n/a
Hi!

I have this exception while getting the data from table adapter.

I know that the possible solution is
http://msdn.microsoft.com/library/de...rrorsTopic.asp

but this doesn't work for table adapters.

If we have code like

DataSetReportsTableAdapters.WorkerClothes dta = new
DataSetReportsTableAdapters.WorkerClothes();
DataSetReports.WorkerClothesDataTable dt = dta.GetData() ;

and we have an exception on GetData() than we don't have
DataSet nor the DataTable. So there is nothing one
can check if HasErrors property is set..

Any advice is highly appreciated!
Thanks,

-Marcin
May 18 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.