case string text: cellText = text; paragraph.Text = cellText; break; |
for (var cellIndex = 0; cellIndex < data.Length; cellIndex++) { var cellContent = data[cellIndex]; var cell = row.Cells[cellIndex]; //Applies border for each cell cell.CellFormat.Borders.Bottom.BorderType = BorderStyle.Thick; |