Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

DataTable problems...

$
0
0

I know y'all are probably going to start fussin' that this question doesn't belong here, but I'm not exactly sure where to put it.... Not sure exactly what I'm asking to be quite honest. :)

I have a wpf project that is hooked up to a database on my server.  No problems.  Has always worked fine.

I recently added a table with 110 columns. 

I created a class that gets the dataset, sets the table adapter and will return the collection view.

I have a second class that has all the info and where I do calculations and such.

I've successfully hooked it up to my project where I display the data in a page and make changes to my info class (where the calculations are done) via TwoWay binding.  And save the data back to the database as a new row.  So saving new data is no problem.

I can recall that row from the database and view it in the same page/controls.

My problem is that when I go to save changes made to the data, it says the query is too complex.  Even when using the general "Fill" (just fill with everything).

What I'm confused about is that the data wasn't too complex to save, why is it too complex for changes made to the data rows?  I've not run across this before with any of my other tables and I'm wondering, is there is a limit to the number of columns a data table can have?

Any guidance would be greatly appreciated.

~Christine


Viewing all articles
Browse latest Browse all 18858

Trending Articles