meenctg
Learn24bd
- Local time
- Today, 15:44
- Joined
- May 8, 2012
- Messages
- 133
i have 2 table in my database. I wanna insert data into two tables by one command button. command button name is insertData
My tables are tbl1 (fields: Name,Pay),tbl2 (CostField,Amount)
i wanna insert data
for 1st table
Name=XXXX
Pay=0000
2nd table
CostField=XXXX
Amount=0000
actually i wanna when user click on command button the value XXXX,0000 for tbl1 and the value XXXX,0000 for tbl2 will insert into two tables.
Please any body help me how will i do this.
My tables are tbl1 (fields: Name,Pay),tbl2 (CostField,Amount)
i wanna insert data
for 1st table
Name=XXXX
Pay=0000
2nd table
CostField=XXXX
Amount=0000
actually i wanna when user click on command button the value XXXX,0000 for tbl1 and the value XXXX,0000 for tbl2 will insert into two tables.
Please any body help me how will i do this.