How to RemoveChild from HtmlElement from C#

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I have a webbrowser control in my winform. There is an html in the
webbrowser which has a table, and many child <tr>s and <td>s inside it.
I want to delete a specific <tr> node completely from the html. (I dont
want to do style = "display:none"). I want to do RemoveChild("id of the
tr") of the table, on some button click.

There is no RemoveChild available on HtmlElement.
MS experts, MVPs....any clues on how to do this?

Cheers,
Vin

.


Quantcast