如何从XML存储数据 [英] How to store data from XML

查看:71
本文介绍了如何从XML存储数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个XML文件,我想使用C#.NET(Windows应用程序)中的存储过程将XML数据存储在SQL Server 2000中.

谁能告诉我该怎么做?紧急.

预先感谢

I have an XML file and I want to store the XML data in SQL Server 2000 using Stored Procedure in C# .NET (Windows application).

Can any one tell me how this should be done? It''s urgent.

Thanks in advance

推荐答案

您可以将xml直接发送到存储过程,然后让存储过程将其反序列化为相应的表.

关于在sql中使用xml,google是您的朋友.
You can send the xml directly to stored procedure and let the stored procedure deserialize it into the appropriate table(s).

Regarding using xml in sql, google is your friend.


这篇关于如何从XML存储数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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