dt.Rows.Add();
foreach (DataGridViewCell cell in row.Cells)
{
if ((dt.Rows.Count - 1) != 0)
if (cell.ColumnIndex != 0)
dt.Rows[dt.Rows.Count - 2][cell.ColumnIndex-1] = cell.Value.ToString();
}
dt.Rows.Count - 2
if ((dt.Rows.Count - 1) != 0)