通过asp.net中的XML文件调用存储过程 [英] Invoke Stored Procedure through XML file in asp.net

查看:81
本文介绍了通过asp.net中的XML文件调用存储过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何通过XML文件调用存储过程,然后将xsl应用于从存储过程检索的数据.

我的开发环境是:
Visual Studio 2008
SQL Server 2008


在此先感谢.

Hi,

How can i invoke stored procedure through XML file & then apply xsl on the data which i retrieve from stored procedure.

My Development Environment is :
Visual Studio 2008
Sql Server 2008


Thanks in Advance.

推荐答案



我假设您正在IE等某些或其他应用程序中使用xml文件.
应该有某种过程.

如果您正在网页中使用IE来开始操作,则可以将javascript添加到您的原始页中以进行存储过程调用
与-有关var rs = new ActiveXObject("ADODB.Recordset")

只要可以从客户端访问数据库,就可以了.
它在Java和客户端都可以完成很多工作,如果那是您编写的代码,那么您就可以编写快乐的代码了,但是如果您可以更改范例,那么可以考虑在服务器上进行所有操作.

祝你好运...
Hi,

I am assuming you are using your xml file in some or other application like IE.
There should be some sort of process.

If you are using IE as in a web page to start things off, javascript can be added to you originating page to do you stored procedure call
something to do with -> var rs = new ActiveXObject("ADODB.Recordset")

As long as your db can be accessed from the client you should be fine.
Its alot of work in java and on the client side, if thats what you are after then happy coding, but if you can change you paradigm, look into doing all that on the server rather.

Good luck...


这篇关于通过asp.net中的XML文件调用存储过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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