I have two tables UserMaster(userID,UserName), Userdetails(UserID,UserAddress)

I want to insert data into the UserMaster and the corresponding data in the UserDetails meaning I wanna the same userid in the userdetail.

I have tried using the setparentrow and such things, but cant seem to get it...Kindly help me

If anyone want I can paste the entire code as well....

Thanks