DS relation can't be access from code?

M

Mtcc

I have to table on typed Dataset, one is master and tow is detail.

I add on DS designer a relation from master to detail.

Now when I fill the detail table, I get error (I get msg: constrain or
null). I try to avoid the

relation and the error gone.


If I understand, I need to Disable the relation while I fill the DS.

It is correct? How I do that?


I try to access to relation class on My code, and I can't find the
declaration on Region of designer generator. And I get error that it not
declared?
 
M

Mtcc

sorry i have another mistake.

but by the way:
1. to access to relasion need to use with relations property of DS, it is
collection.
2. relation class no have a clone abilty, why?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top