while (rdr2.Read()) { SqlCommand cmd3 = new SqlCommand(@"INSERT INTO DestinationDatabase.dbo."+ table.tableName ); //Problematic part cmd3.ExecuteNonQuery(); }
cmd3.ExecuteNonQuery();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)