DataRow[] ROWS = dtVariable.Select("VariableUsed=0");
foreach (DataRow tmpRow in ROWS)
{
sbResult.AppendLine(tmpRow["ObjectName"].ToString() + ": VariableUsed=" + tmpRow["VariableUsed"]);
}
DataRow[] rows = dt.Select("Done=1");
dtCurrentDone = dt.Clone(); // 隻是複制結構 ;如果是複制内容則用 dt.Copy()
foreach (DataRow row in rows)
{
dtCurrentDone.ImportRow(row);
}