I want to add table of content in table

I want to add table of content in table. I have share picture of table of content and table where i want add link between table of content and table row.
Table Of Content Image:
image

Table Image

You can add a TOC element to the table’s cell, for example, like this:

var document = DocumentModel.Load("input.docx");
var table = (Table)document.GetChildElements(true, ElementType.Table).First();
var toc = new TableOfEntries(document, FieldType.TOC, @"\o ""1-3"" \h \u");
table.Rows[0].Cells[0].Blocks.Add(toc);
toc.Update();
document.Save("output.docx");