将图像放入imagebutton后,我如何保存更改 [英] how cain i save changes after placing image in imagebutton
本文介绍了将图像放入imagebutton后,我如何保存更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在运行时将图像放置在图像按钮中.
我的问题是,在关闭Web应用程序时,我需要保存更改.
我的意思是我放置在图像按钮中的是永久保留的,每当我再次启动页面时,我都希望看到上次放置在图像中的图像.
请有人帮我
预先感谢
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
推荐答案
好,您可以在数据库或cookie中存储最后使用的图像/图像路径".根据保存的数据/链接,您可以在下次登录时显示它.从数据库或cookie中获取它并设置图像.
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.
这篇关于将图像放入imagebutton后,我如何保存更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文