将整个数据表保存到一个数据库表中. [英] to save the whole Data Table into one database table.

查看:203
本文介绍了将整个数据表保存到一个数据库表中.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从应用程序中生成一个数据表,我想将整个数据表保存到一个数据库表中.
DataTable ds =////从应用程序的队列中添加信息DataTable正在生成,但是下一步该怎么做.请向我展示一些语法.我也确实不需要select语句,我只想从将DataTable放入已创建的db表中(更新该表).我将使用ODBC连接来访问MYSQL数据库.
在此先感谢

Hi, I am generating a Data Table from in my application and i would like to save the whole Data Table into one database table.
DataTable ds = //add the info from the queue in the application The DataTable is getting generated but What to do next .Show me some syntax.I dont really need the select statement there either, i just want to insert all the info from the DataTable into already created db table(update the table). i will be used the ODBC connection to access the MYSQL database
thanks in advance

推荐答案

看一个基本示例
Look at a basic sample here[^].


这篇关于将整个数据表保存到一个数据库表中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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