Hi guys,
Server controls: Label, TextBox, Button and GridView.
I need some help regarding my issue.
If a user would like to enter the ff:
Enter Number of Payments: 3 <Button Details> - if pressed >>> 3 x a user
will input values
Number of Payments - auto-generated value according to number of
payments entered
it will show:
Pay# : 1loop
Pay#: 2The time it will reach the third entry it will stop the operation. All those entries will be saved directly on sql server database. The week entry increments by 4 while the condition is true.
I have an idea on how to insert data however, this concern uses an iteration until it satisfies the condition to terminate the insertion.
Any help are highly appreciated. Thanks.
Sheen Buhay
07-Nov-2011As per illustration stated above, when a user entered a counter value of 3 it will loop 3 times. By the time it will loop 3 times it will also insert the record 3 times.
Example:
Number of payments: 3 [button]
Pay# : 1
Week: 1
Pay#: 2
[press Save button] it will loop to perform Pay# 3
Hope this statement is clear. Thanks.
Sheen Buhay
07-Nov-2011James Smith
07-Nov-2011As you stated previously and starting up, I am little bit confuse about the question and requirements,
If you will explain your question in more detail, what is exactly your requirement then that is more useful for me to reply,
Thanks,
Sheen Buhay
05-Nov-2011I need some help which is very similar to the posted thread on how to loop upon insertion of record.
I bet your example is primarily assigning a value to a variable.
If a user let say enters value of 4, an insertion of values will be done 4 times until the execution will be terminated. There will be a counter value displayed on the form on how many times a user inserts those values.
I have re-phrased my thread above. If there are sample snippets for this that would be great.
Thanks.
Sheen Buhay
12-Oct-2011James Smith
12-Oct-2011Hi Sheen,
You can try following code format to complete your task.
Maybe this is helpful for you.
Please mark it as a answer if it is that which you want.
Thanks,
Chris Anderson
12-Oct-2011Could you please explain your question in more details.
Thanks.