替换数据库中的图像 [英] replace image in database

查看:84
本文介绍了替换数据库中的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我该如何替换现有的图像二进制文件?在数据库中使用detailsview.

Hi how do i replace and existing image<binary> in database using detailsview.
uploading the image files in database code is working fine.

推荐答案

我建​​议您尝试使用formview控件,以便可以定义自己的模板并可能添加Fileupload控制它,然后就可以上传文件并进行更改,如果您不知道如何使用formview,可以搜索msdn
I suggest you try and use the formview control so that you can define your own template and probably add a Fileupload control to it, and then you can get the file uploaded and make your change, you can search msdn if you have no prior knowledge of how to use formview


这篇关于替换数据库中的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆