Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Suppose I have 2 webforms i.e. webform1 and webform2. Two tables in the database table1 and table2. I want the data to be stored from webform1 to table1 only when user click on submit button on webform2. Because I don't want data to be stored in table1 if user leaves before submitting webform2 as they both are connected.

What I have tried:

I tried using both insert query on submit button but it didn't work as thete is no way to distinguish textbox1 of webform2 to textbox1 of webform2
Posted

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