如何使用wpf在数据库中保存文件路径 [英] how to save a file path in database using wpf

查看:251
本文介绍了如何使用wpf在数据库中保存文件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



请告诉我如何使用wpf保存使用openfiledialog在数据库中选择的文件路径。



i想要将文件存储在我硬盘的特定位置..我可以参考该路径并打开文件





谢谢

Hi all

Please tell me how to save a file path selected using openfiledialog in database using wpf.

i want to store a file in a particular location of my hard disk..later i can refer that path and can open the file


Thank you

推荐答案

文件路径只不过是一个字符串。你是说你不知道如何将简单的字符串保存到数据库表中?
A filepath is nothing but a string. Are you saying you don''t know how to save a simple string to a database table?


这篇关于如何使用wpf在数据库中保存文件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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