Web services web服务器中的ODBC驱动器
您好,我可以在ADOConnection中使用odbc驱动程序链接web服务器上的数据库Web services web服务器中的ODBC驱动器,web-services,delphi,Web Services,Delphi,您好,我可以在ADOConnection中使用odbc驱动程序链接web服务器上的数据库 D.qUtilizadores.SQL.Text:='Select codentidade, nome, nipc, web_passwd from entidades where codentidade='''+AUserName+''' and web_passwd='''+APassword+''''; 已经尝试激活ado连接,但每当我激活它时,我的web服务器就会显示html错误。。。500内部服
D.qUtilizadores.SQL.Text:='Select codentidade, nome, nipc, web_passwd from entidades where codentidade='''+AUserName+''' and web_passwd='''+APassword+'''';
已经尝试激活ado连接,但每当我激活它时,我的web服务器就会显示html错误。。。500内部服务器错误
请帮助我,不知道如何通过web服务器连接我的slq
D.qUtilizadores.SQL.Text:='Select codentidade, nome, nipc, web_passwd from entidades where codentidade='''+AUserName+''' and web_passwd='''+APassword+'''';
您的连接在设计时工作吗?您需要显示更多的代码并提供比设置一些SQL文本的单行更多的信息。还请阅读SQL插入以及如何防止它。另外,我的问题是我的UwebModule中的ado。。。在配置中,有用于连接数据库的adbc驱动器。。。我想我不能用这个…:S我不知道如何在我的web服务器中执行此操作…:因为您的Web服务器事件可能是线程化的,所以您需要为ADO连接调用CoInitializenil/CoUninitialize以激活COM。我如何才能做到这一点?