标签: c# sql sql-server copy
我想将数据从DataTable复制到SQL Server表;我该怎么做才能帮忙。
DataTable
答案 0 :(得分:3)
您可以复制data from a DataTable to a SQLServer Database using SQLServer Management Objects and SqlBulkCopy.
您还可以尝试SqlDataAdapter to Update the data into the database.