Click here to Skip to main content
15,902,032 members

Comments by abdulrehman7621 (Top 2 by date)

abdulrehman7621 8-Jan-14 5:06am View    
thanxs bro :)
happy new year, welcome
mydb.employee (idemployee,name,type)
mydb.emp_account(idemp_account,idemployee,loan,bill,balance,total)
abdulrehman7621 5-Jan-14 5:16am View    
yes these two table are linked with foreign key
primary keys: idemployee and idemp_account
foreign key is idemployee in emp_account table
but i don't know how to use it in insert statement

data of employees are already inserted, now i want to insert data in emp_account by using foreign key of idemployee

i hope, you help me in this
i'm not expert in this. this is my beginning in c#
thanxs