Skip to content

Commit a87f134

Browse files
committed
remove new line in insert
1 parent 9a3786c commit a87f134

File tree

10 files changed

+2
-2
lines changed

10 files changed

+2
-2
lines changed

NSF2SQL.v12.suo

1.5 KB
Binary file not shown.

NSF2SQL/Form1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ private void bExportDocuments_Click(object sender, EventArgs ea)
588588
for (int i = 0; i < rows.Count; i += mysqlNumRowsPerInsert)
589589
{
590590
command.CommandText = beginInsertTable(table);
591-
command.CommandText += String.Join(",\n", rows.GetRange(i, Math.Min(rows.Count - i, mysqlNumRowsPerInsert))) + ";\n";
591+
command.CommandText += String.Join(",", rows.GetRange(i, Math.Min(rows.Count - i, mysqlNumRowsPerInsert))) + ";\n";
592592
command.CommandText += endInsertTable(table);
593593
command.ExecuteNonQuery();
594594
pDialog.ReportProgress(count, "Inserting SQL");
@@ -639,7 +639,7 @@ private void bExportDocuments_Click(object sender, EventArgs ea)
639639
{
640640
file.WriteLine(createTable(table));
641641
file.WriteLine(beginInsertTable(table));
642-
file.WriteLine(String.Join(",\n", insertTableRows(table)) + ";");
642+
file.WriteLine(String.Join(",", insertTableRows(table)) + ";");
643643
file.WriteLine(endInsertTable(table));
644644
}
645645
}

NSF2SQL/bin/Debug/NSF2SQL.exe

0 Bytes
Binary file not shown.

NSF2SQL/bin/Debug/NSF2SQL.pdb

0 Bytes
Binary file not shown.
-1.03 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
10 Bytes
Binary file not shown.

NSF2SQL/obj/Debug/NSF2SQL.exe

0 Bytes
Binary file not shown.

NSF2SQL/obj/Debug/NSF2SQL.pdb

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)