I want to bulk export from a select table, all columns that match a listbox and from only rows that match listings i开发者_运维技巧n a text file.
Any help? I'm sure someone has done this.
You can use the SqlBulkCopy class.
Read some examples here
I have experience with the command line version bcp.exe. It is the fastest, most efficient way to export from your database.
精彩评论