Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Good day.


As of now i have all the codes for the following simulations.

1.retrieve the data from the database and post it on the textbox
1 data for each textbox one at the time.
2.merge them in the 1 textbox
3.and save it in the database.

now my question is how to do that.

seconds per second?


what i mean is that "I will run the program and wait for the simulations to finish"

but my code can only be put on buttons so i will click it.

do you think timer will do?


ty in advance
Posted
Comments
Kschuler 8-Aug-13 15:30pm    
Your question isn't clear. It's hard to understand. But if you are trying to make your code run as soon as the program starts, the you would want to put it in the form's load event instead of a button's click event. And it sounds like what you want could actually be done with an SQL statement...why are you putting data into several textboxes and then immediately merging them into another textbox? If you provide more information about your database and table structure we might be able to show you a quicker way to accomplish your task.
Mr.TMG 9-Aug-13 20:16pm    
What is it that you would need a timer for?

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