Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2012 DataType Change in Data Table not recognized by program

$
0
0
I Generated a Data table with a column DataType designated as "varchar(50)"

As the program progressed I changed the DataType to "varchar(MAX)

I "Updated" the Data Table, _
"Updated" the Data Connection _
"Updated" the DataSet _
"Updated" the Solution _
"Updated" the Update..... (being facetious here)

But, when I run the sequence, I continue to get an error :

"One or More Rows contain values violating non-null, unique, or foreign-key constraints"

Should I manually modify the data table column to contain a character length of 50 or less, the program functions as intended.

I'm obviously missing a step. Does It stand out to anyone?

Name:  5.png
Views: 106
Size:  97.7 KB
Attached Images
 

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>