Sunday, April 19, 2009

failed to enable constriants,One or more rows contain values violating non-null, unique

Error:asp.net/c#/typed data set,strong datasets,xsd files
"failed to enable constriants,One or more rows contain values violating non-null, unique"

If this is the error you get into your dataset/xsd files then there is a problem with the table u r using to fetch records.You might have altered the datatype/length of the column.

the best way to resolve it is to re create the dataset/xsd file or use a simple stored procedure to fetch records...

No comments: