将XML数据导入sql表 [英] XML data into sql Table

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

问题描述

如何在运行时将datagridview数据存储到sql表中。(c#在窗口应用程序中)

注意:

表将在运行时自动创建。



先谢谢

How can i store datagridview data into sql table at run time.(c# in window application)
Note:
Table will be created automatically at run time in sql.

Thanks in Advance

推荐答案





查看以下文章。

将数据表发送到存储过程 [ ^ ]



因此,使用这个,你可以将gridview的数据源传递给strored过程,那就是创建表并将数据表中的行插入到sql表中。



希望它有所帮助。
Hi,

check the below article.
Sending a DataTable to a Stored Procedure[^]

So, using this, you can pass the datasource of the gridview to strored procedure and that would create the table and insert the rows from the datatable to sql table.

hope it helps.


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

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