var tb = project.Tables["tb"];
string[] row = new string [0];
lock(SyncObjects.TableSyncer) {
tb.GetItem("0", true).ToArray(); // first row and delete
tb.AddRow(row); // add to end
}
return string.Join("|", row); // return row to string
If there are no lines in the plate, it will exit along the red arrow.
var tb = project.Tables["tb"];
string[] row = new string [0];
lock(SyncObjects.TableSyncer) {
tb.GetItem("0", true).ToArray(); // first row and delete
tb.AddRow(row); // add to end
}
return string.Join("|", row); // return row to string
If there are no lines in the plate, it will exit along the red arrow.
Excuse me, please.
I made a mistake - corrected.
In 5 line.
C#:
var tb = project.Tables["tb"];
string[] row = new string [0];
lock(SyncObjects.TableSyncer) {
row = tb.GetItem("0", true).ToArray(); // first row and delete
tb.AddRow(row); // add to end
}
return string.Join("|", row); // return row to string
Excuse me, please.
I made a mistake - corrected.
In 5 line.
C#:
var tb = project.Tables["tb"];
string[] row = new string [0];
lock(SyncObjects.TableSyncer) {
row = tb.GetItem("0", true).ToArray(); // first row and delete
tb.AddRow(row); // add to end
}
return string.Join("|", row); // return row to string