Click here to Skip to main content
15,908,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I placed an image in an image button at run time.

My problem is that while closing the web application I need to save the changes.
I mean that what I placed in image button is to stay permanently, and whenever I start the page again, I want to see the image which was placed there last time.

please some one help me




thanks in advance
Posted
Updated 21-Nov-10 22:34pm
v2
Comments
Dalek Dave 22-Nov-10 4:35am    
Edited for Grammar, Syntax and Readability.

1 solution

Well, you can store the last used image/'image path' in DB or in cookies. Based on the saved data/link, you can show it next time you login. Fetch it from DB or cookie and set the image.
 
Share this answer
 
Comments
tulasiram3975 22-Nov-10 4:39am    
sir
i stored in databse image link as path
with the path i retrieving image to imagebutton
i did't get your answer
can you tell me clearly please
thanks in advance
Sandeep Mewara 22-Nov-10 4:54am    
If you are storing the DB image link as path then just fetch this link and set the image path of the image button. Am I missing something here? Sounds pretty straight forward.

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