I have finally solved this issue. With many more google searches and the code F-ES Stercore gave, I could get the rest of the code done.
For those who are interested, here is what i did
foreach (HtmlTableRow row in callData.Rows)
{
foreach (HtmlTableCell cell in row.Cells)
{
foreach (var linkbtn in cell.Controls.OfType<linkbutton>())
{
if (linkbtn.Text == "Edit")
{
linkbtn.Visible = false;
}
}
}
}
</linkbutton>