Can apply this to specific columns by checking the column index
foreach (TableCell cell in e.Row.Cells)
{
if (e.Row.Cells.GetCellIndex(cell) == 0 || e.Row.Cells.GetCellIndex(cell) == 1) //eg: ID (0) and Phone (1)
{
cell.Style.Add("mso-number-format", "\\@");
}
}
-- Should resolve the issue by applying the formatting only to the selected columns