1
как мы можем изменить DataType = CellValues.String из каждого столбца excel из C#.Как изменить тип данных ячейки Excel на CellValues.String из C#
for (int index = 0; index < NoOfRecords; index++)
{
for (int j = 0; j < colCount; j++)
{
mWSheet1.Cells[(rowCount) + index, j + 1] =Convert.ToString(ResultsData.Rows[index][j].ToString());
}
}