inserting data from one table to another

Posted by Vijayar under C# on 9/16/2011 | Points: 10 | Views : 2846 | Status : [Member] | Replies : 2
Hi
i have a form with 3 drop downs,i am uploading a column from excel sheet into the database.on click i am inserting id's of 3 dropdown selected values along with uploaded column in to a table.Now i need to insert the same data into another table .If the excel sheet has 4 records the same records should be inserted into 2 tables.It's very urgent
help me to solve this

vijaya


Responses

Posted by: T.saravanan on: 9/17/2011 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi Vijaya,

Your question is not understand to me, could you explain it briefly?

Thanks,
T.Saravanan

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: CS1401 on: 9/17/2011 [Member] Starter | Points: 25

Up
0
Down
insert into tebranch(branchna) select branchname from mybranch;

...

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response