Hi everyone,
I have 4 checkboxes and one textbox control.. User can at a time select a checkbox and make entries in textbox which should be saved. Again when a user selects another checkbox the textbox should be cleared to make new entries. Entries made like this should be saved somewhere to be able to access later to save in the database.. is this possible?
Loading

Zoran HorvatPosted Aug 2, 2011, 5:35 AM
In the background, keep the list (List) of addresses added this far. Whenever you set textbox's text to the address, you should add one element to this list. Once the saving phase comes, you'll have all addresses available in the list.
Zoran
B M SuchitraPosted Aug 2, 2011, 5:19 AM
The 4 checkboxes are business,shipto,billto,others. And one textbox ie txtaddress.text. User can select checkboxes to enter business address/shipto/billto/others address. The scenario here is:
A user checks the business checkbox a pop up page appears which has 2 textbox to enter street and zip and has 3 dropdown controls to select city,state,country. After entering all these values user clicks ok and all these values are displayed in the txtaddress.text. Again after he checks shipto checkbox the txtaddress.text gets cleared and a new entry in pop up is made. All these values should be saved somewhere and finally while inserting into a sql table get these values and save in table. How to do it.. screenshots are in the attachment
Zoran HorvatPosted Aug 2, 2011, 3:56 AM
If no, then what is the precise logic of adding new values?
Zoran
B M SuchitraPosted Aug 2, 2011, 3:51 AM
Can u plzz give a simpler explanation. I did not get what solution u suggested.
Thanks
Zoran HorvatPosted Aug 2, 2011, 3:46 AM
1. CSV list
2. Length-value list (e.g. 9,something,5,again)
3. Array of strings serialized to XML
In each case, string can be decoded into original array of values later.
Zoran