Click to See Complete Forum and Search --> : C# 2005: Is there a way to remove children from an HtmlElement?


jklame
March 6th, 2007, 10:19 AM
I can add rows to a table at runtime using

HtmlElement AppendChild(HtmlElement newElement);

But I don't seem to be able to find a way to remove rows after they are added.

I'm using the WebBrowser control to load my initial page and then I'm adding new rows to a specific table as certain events come in. For other events I'd like to be able to remove rows from that same table but I don't see any RemoveChild method or similar mechanism.

John