I have few dropdown lists on my application and I want when the user chooses any option from anyone of the lists; for the options chosen to be displayed on a label as on string. ( year_process_format)
My problem is that when a user chooses from the first list the chosen option is displayed but upon choosing the second one it overwrites the first one.
I have tried this
Year=dropdwonlist 1. selecteditem.tostring
lblfilename.text=lnlfilename.txt & Year
this works fine but the problem is that when the user goes back to one of the list that he had chosen an option from earlier, the chosen option gets appended to the string displayed on the label as oppose for it to overwrite it designated space within the string
I am trying to do the above using asp.net
Your help is highly appreciated
My problem is that when a user chooses from the first list the chosen option is displayed but upon choosing the second one it overwrites the first one.
I have tried this
Year=dropdwonlist 1. selecteditem.tostring
lblfilename.text=lnlfilename.txt & Year
this works fine but the problem is that when the user goes back to one of the list that he had chosen an option from earlier, the chosen option gets appended to the string displayed on the label as oppose for it to overwrite it designated space within the string
I am trying to do the above using asp.net
Your help is highly appreciated