在临时数据集中上传图像并进入D / b。 [英] upload images in temporary dataset and move into D/b.

查看:75
本文介绍了在临时数据集中上传图像并进入D / b。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要在临时数据表或数据集中上传图像的代码。当我们点击上传按钮时,它会进入sqldatabase。我在绑定到网格时遇到问题,它显示空图像。

Hi,

i need code for upload image in temporary datatable or dataset. atlast when we click on upload button it move into sqldatabase. i had problem while binding into grid, it shows empty images.

推荐答案

问题可能在于如何将图像加载到表中然后再加载到数据库中。

看看这里:为什么我得到参数无效。我从数据库中读取图像时出现异常? [ ^ ]它解释了最常见的错误。如果查看数据库中的数据,您可能会看到它描述的字符串。
The problem is probably how you are loading the images into the table and then to the DB.
Have a look here: Why do I get a "Parameter is not valid." exception when I read an image from my database?[^] it explains the most common mistake. If you look at the data in your DB, you will probably see the string it describes.


这篇关于在临时数据集中上传图像并进入D / b。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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