Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

How to save datas between table master and detail?

$
0
0

Hello,

I have two tables Order and Order-detail with relation like ORDER.ID(1) to ORDER-DETAL.(n).

NB: I'm using TableAdapter and BindingSource.

So, when I added a new Order record(1 row) and  I added Order-detail(2 rows) I click on button "Save", it save juste Order row without saving my order-detail!!?.

Plz, how can I fixe this error ?


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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