System.Data.SqlClient.SqlBulkCopy bc = new SqlBulkCopy(SQLClass.constring); bc.DestinationTableName = TableName; try { SQLClass.constring.Open(); bc.WriteToServer(ds.Tables[0]); SQLClass.constring.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)