如何将tex,图片和视频剪辑插入MSQL数据库,然后如何检索或搜索它们 [英] How to insert tex, pictuers and video clips into MSQL database then how to retrive or search them

查看:61
本文介绍了如何将tex,图片和视频剪辑插入MSQL数据库,然后如何检索或搜索它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helo正在尝试构建一个简单的应用程序,该应用程序可以帮助我在mysql数据库中存储一些数据,例如简单的视频剪辑,图片和文档,并能够通过使用TextBox进行搜索来进行检索.我正在使用Visual Studio 2008和c-sharp作为我的友好编程语言.非常感谢该代码项目,它的确包含了许多我喜欢的非常有教育意义的文章.
如果您可以帮助我获得此解决方案的C语言代码,因为该想法不是一次检索所有内容而是一次检索特定内容并在同一应用程序中显示它.我正在想象一个电子医生系统,该系统通过某种方式输入或描述他的病情,并从数据库中已经存储的解决方案中检索解决方案,并显示在各个控件中.
谢谢.

Helo am trying to build a simple application that can help me to store some data like simple video clips,pictures and document in mysql database and to be able to retrieve by searching it using a TextBox. am using visual studio 2008 and c-sharp as my friendly programming language. Thanks so much to The code project its really containing very educative articles that am in love with.
if only you could help me with c-sharp code for this solution because the idea is not to retrieve all at once but specific content at a time and displaying it in the same application. am imagining an electronic doctor system where by some one types or describes his sickness and a solution is retrieved from the already stored solution in the database the displayed in the respective controls.
Thank you.

推荐答案

最常见,最简单的方法是将视频和图像保存到一个文件夹中,并将其URL保存在数据库中



另一种方法是将图像转换为二进制文件并保存到数据库
The most common and easy way of doing it is save your videos and images into one folder and save it''s URL in database



Another method is convert your images into binary and save to database


这篇关于如何将tex,图片和视频剪辑插入MSQL数据库,然后如何检索或搜索它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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