0

I have a scenario where I have to add rows in two datatables before saving in database , lets say dt1 and dt2. Both datatables have parent child relationship. I know how to maintain relationship between datatables and my solutions works fine for single row in both table. Now if I add multiple rows in dt1 and same number of nows in dt2. How relationsihp will be maintained ? As each row in dt1 does have any id yet to maintain relationship with dt2

jbduzan
  • 1,106
  • 1
  • 14
  • 30
touseefkhan4pk
  • 473
  • 4
  • 26

0 Answers0