c# - Bulk insert XML data into SQL Server database -


i working on backup , restore selective data sql server. using following solution:

export multiple tables mssql xml

and create xml data want. how can create function restore these data sql server database?

use sqlbulkcopy, can load data in datatable , using sqlbulkcopy can insert in table.

sqlbulkcopy

lets efficiently bulk load sql server table data source.

and

the sqlbulkcopy class can used write data sql server tables. however, data source not limited sql server; data source can used, long data can loaded datatable instance or read idatareader instance.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -