PrinceDotNet
یک شنبه 19 فروردین 1386, 14:05 عصر
سلام
من وقتی که Relations زیر رو می خوام بین دو جدول که select کردم بر قرار کنم :
dst.Relations.Add("cates_child", dst.Tables("ParentCates").Columns("CategoryID"), _
dst.Tables("ChildCates").Columns("ParentID"))
این خطا رو میده :
This constraint cannot be enabled as not all values have corresponding parent values.
می دونید مشکل چیه ؟
ممنون.
من وقتی که Relations زیر رو می خوام بین دو جدول که select کردم بر قرار کنم :
dst.Relations.Add("cates_child", dst.Tables("ParentCates").Columns("CategoryID"), _
dst.Tables("ChildCates").Columns("ParentID"))
این خطا رو میده :
This constraint cannot be enabled as not all values have corresponding parent values.
می دونید مشکل چیه ؟
ممنون.