"Andy B" <a_*****@sbcglo bal.netwrote in message
news:uI******** ******@TK2MSFTN GP02.phx.gbl...
I have a dictionary class that I want to add key/value pairs to through a
wizard. I want to have 2 text boxes and an add button inside the wizard.
When a person fills in the 2 text boxes and presses the add button, I want
the pair to be added to the dictionary, show at the top of the page as a
definition list with edit/remove buttons next to them. How would I do
something like this?
Start with a listview, two text boxes and a command button on a ASP.NET form
Add some code in the load event to create a Dictionary and store it in the
session object if the request isn't a post back.
Add come code to the command button click event to add the values to the
dictionary in the session object.
You will need some code to feed the list view with values from the
dictionary.
Post back where with your attempt at it for further help.
--
Anthony Jones - MVP ASP/ASP.NET