Click here to Skip to main content
15,918,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I have stored different controls to session successfully(ASP.net, C#).
Now, how do i fetch those controls because the control list has textboxes, checkboxes, radio button, dropdown list etc. How can the control array be fetched from session.
Regards,
Prasad
Posted

1 solution

Iterate through the session variables while performing the following:

C#
TextBox txtMyTextBox = (TextBox)Session["value"];
 
Share this answer
 

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