I have added the nodes to existing Node using the following code. Im not able to find the newly added node in the 'htmldoc'.
HtmlDocument htmldoc = new HtmlDocument();
htmldoc.LoadHtml(reportHTML);
var newNode = HtmlNode.CreateNode(headerHTML);
HtmlNodeCollection trnodes = htmldoc.DocumentNode.SelectNodes("//tr");
int trcount = trnodes.Count();
if (trnodes != null)
{
int introw = 1;
for (int i=0; i<=trcount; i++)
{
if (introw >= 25)
{
trnodes.Insert(i, newNode);
introw = 1;
}
introw++;
}
}