Visual Studio数据库 [英] Visual Studio Database

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

问题描述

您好,我正在使用Visual Studio 2010创建数据库,现在我的问题是我无法在我的数据库表上添加图像。请帮助guyz不要紧急。



问候

Nkosi先生

Hi there, am creating a database using Visual Studio 2010 and now my problem is i can't add an image on my Database table. please assist guyz its unrgent.

Regards
Mr Nkosi

推荐答案

图像类型是BLOB或VarBinary(Max)。您无法使用表编辑直接从VS插入值。您可以通过编写插入查询或自定义代码来完成。请查看以下链接。





http://stackoverflow.com/questions/15544527/need-help-query-to-insert- an-image-into-a-table-in-sql-developer3-0 [ ^ ]



http://stackoverflow.com/questions / 416881 / insert-picture-into-sql-server-2005-image-field-using-only-sql [ ^ ]



PS:谷歌是你的朋友,永远不要忘记!
Image types are either BLOB or VarBinary(Max). You can't directly insert values from VS using Table edit. You can do by writing Insert queries or with custom code. Have a look into the below links.


http://stackoverflow.com/questions/15544527/need-help-query-to-insert-an-image-into-a-table-in-sql-developer3-0[^]

http://stackoverflow.com/questions/416881/insert-picture-into-sql-server-2005-image-field-using-only-sql[^]

PS: Google is your friend, Never forget !


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

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