将XML文件数据导入数据库表 [英] Importing XML files data into database tables

查看:93
本文介绍了将XML文件数据导入数据库表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在程序中,我必须使用以下命名空间
使用System.Data.SqlClient;
我已经在本地数据库中创建了表.
位于服务器资源管理器中的数据库.

我想将数据从XML文件导入数据库表...


我必须使用connectionstring

In program I have to use following namespace
using System.Data.SqlClient;
I have created tables into my local database.
The database which is situated in server explorer.

I want to import the data from XML files into the Database tables...


I have to use connectionstring

推荐答案

仔细阅读以下示例和教程,以学习如何做:
将XML文件加载/导入数据库表(Oracle或SQL Server) [ ^ ]
使用XML将XML数据导入数据库ADO.NET [ ^ ]

试用.万一您陷入困境,请发布特定问题.
Go through following examples and tutorials to learn on how to do it:
Load/Import XML file into database table (Oracle or SQL Server) [^]
Importing XML data into a database using ADO.NET[^]

Try out. In case you get stuck, post specific issues.


这篇关于将XML文件数据导入数据库表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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