如何将结果列表导出到Access [英] How to export a list of results to Access

查看:65
本文介绍了如何将结果列表导出到Access的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一个答案,说明如何从EF导出列表(或必要时的其他容器)。我通过gridview将结果导出为word和excel并通过Response将它们发送到客户端没有问题。我想对访问做同样的事情。有没有办法做到这一点或shuld我尝试不同的方法?



结果必须发送给客户...



谢谢,

B

Ive been looking for an answer on how to export a list (or some other container if necesary) of results from EF to access. Ive had no problem in exporting results to word and excel via gridview and sending them to the client via Response. I want to do the same with access. Is there a way to do this or shuld I try a different approach?

The results must be sent to the client...

Thanks,
B

推荐答案

当你需要向客户发送文件时,他/她将必须链接或导入到Access应用程序。

因此,你也可以发送一个Excel文件,因为它可以立即链接。



如果你坚持发送一个Access数据库文件,首先创建它,然后创建一个表,然后将数据导出到该表。
As you need to send a file to the client, he/she will have to link or import this to the Access application.
Thus, you can just as well send an Excel file as this can be linked right away.

If you insist on sending an Access database file, first create this, then a table, and then export your data to this table.


这篇关于如何将结果列表导出到Access的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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