Code:
Row row = table.AddRow();
row.HeadingFormat = true;
row.Format.Alignment = ParagraphAlignment.Center;
row.Format.Font.Bold = true;
row.Shading.Color = TableBlue;
row.Cells[0].AddParagraph("Item");
row.Cells[0].Format.Font.Bold = false;
row.Cells[0].Format.Alignment = ParagraphAlignment.Left;
row.Cells[0].VerticalAlignment = VerticalAlignment.Bottom;
row.Cells[0].MergeDown = 1;
row = table.AddRow();
row.HeadingFormat = true;
row.Format.Alignment = ParagraphAlignment.Center;
row.Format.Font.Bold = true;
row.Shading.Color = TableBlue;
row.Cells[1].AddParagraph("Part Name");
row.Cells[1].Format.Alignment = ParagraphAlignment.Left;
row.Cells[2].AddParagraph("Part Type");
row.Cells[2].Format.Alignment = ParagraphAlignment.Left;
row.Cells[3].AddParagraph("Job Type");
row.Cells[3].Format.Alignment = ParagraphAlignment.Left;
row.Cells[4].AddParagraph("Nature Of Damage");
row.Cells[4].Format.Alignment = ParagraphAlignment.Left;
row.Cells[5].AddParagraph("Estimated Amount");
row.Cells[5].Format.Alignment = ParagraphAlignment.Left;
row.Cells[6].AddParagraph("Parts Quantity ");
row.Cells[6].Format.Alignment = ParagraphAlignment.Left;
row.Cells[7].AddParagraph("Part List price");
row.Cells[7].Format.Alignment = ParagraphAlignment.Left;
row.Cells[8].AddParagraph("Part Dep. Rate");
row.Cells[8].Format.Alignment = ParagraphAlignment.Left;
row.Cells[9].AddParagraph("Depreciation");
row.Cells[9].Format.Alignment = ParagraphAlignment.Left;
row.Cells[10].AddParagraph("Part Assessment");
row.Cells[10].Format.Alignment = ParagraphAlignment.Left;
row.Cells[11].AddParagraph("Salvage ");
row.Cells[11].Format.Alignment = ParagraphAlignment.Left;
row.Cells[12].AddParagraph("Labour");
row.Cells[12].Format.Alignment = ParagraphAlignment.Left;
row.Cells[13].AddParagraph("Paint");
row.Cells[13].Format.Alignment = ParagraphAlignment.Left;
Something error in this code in C#..
please help me to solve this