如何使用C#.NET Windows应用程序从数据库存储和检索图像路径? [英] How to store and retrieve image path from database using c# .net windows application?

查看:118
本文介绍了如何使用C#.NET Windows应用程序从数据库存储和检索图像路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

如何使用C#.net Windows应用程序从数据库存储和检索图像路径?

我只想在数据库中存储图像路径,我不想在数据库中存储图像.
它应该是图像路径的varchar数据类型,
它不能是图像的图像数据类型.

请帮帮我.
在此先感谢.

Ankit Agarwal
软件工程师

解决方案

检查与您的问题相关的这些链接.我没有在Windows应用程序中完成任何项目,所以对此了解不多.
how-to-save-image-into-folder- in-c.html [ how-to -save-image-path-in-database-using-my-sql-c-sharp/ [使用C#Windows应用程序将图片框图像保存在文件夹中 [ ^ ]

Lemme知道它是否有效:)


这些链接可以帮助您实现输出

使用Streded Procedures和C#从SQL Server存储和检索图像 [ ^ ]
C#从数据库保存和加载图像 [ ^ ]

Hello,

how to store and retrieve image path from database using c# .net windows application?

I want to store only image path in database, i don''t want to store image in database.
It should be varchar datatype of image path,
It should not be image datatype for image.

Please help me.
Thanks in Advance.

Ankit Agarwal
Software Engineer

解决方案

Check these links they relate to your question. I have not done any project in windows application so don''t know much about it.
how-to-save-image-into-folder-in-c.html[^]
how-to-save-image-path-in-database-using-my-sql-c-sharp/[^]

and this is a similar form:
picture box image save in folder using C# windows application[^]

Lemme know if it works :)


These links may help you to achieve your output

Storing and Retrieving Images from SQL Server Using Strored Procedures and C#[^]
C# Save and Load Image from Database[^]


这篇关于如何使用C#.NET Windows应用程序从数据库存储和检索图像路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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