使用Entity Framework在sql db中查看和下载文件 [英] View and download File from sql db using Entity Framework in

查看:66
本文介绍了使用Entity Framework在sql db中查看和下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我试图在aspx页面创建按钮,当用户点击按钮时,应该从SQL表中下载文件。

Hi,

I am trying to create button in aspx page and file should be downloaded from SQL table when user clicks the button.

这是一个以二进制格式存储并使用实体框架的文档文件。



有谁能帮助我实现这个目标?



谢谢。

It's a document file stored in binary format and using entity framework.

Can anyone help me out to achieve this?

Thank you.




OK29

推荐答案

在EF论坛中显示了如何在那里上传文件的链接。为什么你不能使用Bing或谷歌并弄清楚如何使用EF下载二进制文件? 
You were shown links on how to upload the file over there in the EF forum. Why can't you use Bing or Google and figure out how to download the binary file using EF? 


这篇关于使用Entity Framework在sql db中查看和下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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