“解析值时遇到意外字符:<.Path '', line 0, position 0....”
我不断从下面的代码中得到错误。
Sheet _TempSheet = _SmartsheetClient.SheetResources.GetSheet((long)_SheetID, null, null, null, null, null, null, null);
List<long> RowsToDeleteIDs = new List<long>();
foreach (Row _Row in _TempSheet.Rows)
{
RowsToDeleteIDs.Add((long)_Row.Id);
Console.WriteLine("Row: " + _Row.Id);
}
_SmartsheetClient.SheetResources.RowResources.DeleteRows((long)_SheetID, RowsToDeleteIDs, true);