Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
sir i want to insert some textbox1,textbox2,textbox3,textbox4,textbox5 to database1 and database2 and database3 at same time on button1_click in C#.net windows forms and as far i know it can be done as
C#
try{
........insert into databse1
........insert into databse2
........insert into databse3
}
catch{
exception handeling
}

is this procedure is rite..??

or suggest me any other method if i am wrong
thanking you
Posted
Updated 31-Dec-11 19:09pm
v2

1 solution

so far You are quite right...go with it...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900