如何通过openfiledialoug控件在sql数据库中插入图像? [英] how to insert image in sql database through openfiledialoug control?

查看:64
本文介绍了如何通过openfiledialoug控件在sql数据库中插入图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过openfiledialoug控件在SQL数据库中插入图像?如何通过datagridview从该数据库检索那些图像?我想使用C#语言在基于窗口的应用程序中进行编码.请帮助我.

How to insert image in SQL database through openfiledialoug control? How to retrieve those images from that database through datagridview? I want coding in window based application using c# language. Please help me.

推荐答案

首先,请使用Google并了解您提出的所有建议.
提示:没什么新鲜的. Opendialog只是保持新窗口停留在父窗体上直到关闭的一种方法.现在,放置一个图像保存和检索代码.
我可以在codeproject上共享本文的链接,做类似的事情,但是然后...


看起来,这是您的大学作业,您应该付出一些努力.

这是询问者的期望:
1. 先尝试您要做什么!
2.制定看起来像问题/无法解决的问题.

试试看,告诉他们是否遇到问题.
成员将很乐意为您提供帮助.
To start with, Google and see what all you come-up with.
Hint: It''s nothing new. Opendialog is just a way to keep new window stuck over the parent form until closed. Now, put a code of image save and retrieve.
I can share the link of the article here at codeproject doing something similar but then...


Looks like, this is your college assignment, you should put some effort.

Here is what is expected by enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.
Members will be more than happy to help like this.


这篇关于如何通过openfiledialoug控件在sql数据库中插入图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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