摘要: /// ///使用SqlBulkCopy方式插入数据 /// /// privatestaticlongSqlBulkCopyInsert() { Stopwatchstopwatch=newStopwatch(); stopwatch.Start(); DataTabledataTable=GetTableSchema(); for(inti=0;i<count;i++) { DataRowdataRow=dataTable.NewRow(); dataRow[2]=Guid.NewGuid(); dataTable.Rows.Add(dataRow); } //Console.Wri 阅读全文
posted @ 2013-08-23 09:41 Kelly_HanShuai 阅读(246) 评论(0) 推荐(0) 编辑