在经典ASP中使用附件字段 [英] Using Attachment field with Classic ASP

查看:76
本文介绍了在经典ASP中使用附件字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Microsoft Access和传统ASP中的附件数据类型来访问数据库.我正在尝试从经典的ASP形式插入附件.我收到一个错误无法插入多个值".我在网上尝试了很多,但是我找不到最合适的解决方案.谢谢您的帮助.

I am trying to use attachment datatype in Microsoft access and classical asp to access the database. I am trying to insert attachement from a classical asp form. I got an error "Cannot insert multiple values". I tried a lot online but i cannot find a best fit solution for this. Thanks for help in advance.

推荐答案

AFAIK,ADO对象模型未包含对新的ACCDB附件字段类型的支持.您将需要找到其他方法来与Access数据库进行交互.我不知道哪种方法适用于经典ASP.

AFAIK, support for the new ACCDB attachment field type has not been included in the ADO object model. You will need to find a different method to interact with your Access database. I don't know what method would work and be appropriate for classic ASP.

我的意愿是修改没有附件字段的数据库.对于您来说,这似乎是一个痛苦的建议,但是,与尝试使用经典ASP中的附件字段相比,它可能没有那么痛苦.

My inclination would be to revise the database without attachment fields. That may seem like a painful suggestion to you, but it could be less painful than trying to use attachment fields from classic ASP.

这篇关于在经典ASP中使用附件字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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