Nicholas,
Any idea how to use those interfaces?
IHTMLDocument3 doc = (IHTMLDocument3)
axWebBrowser1.Document;
IHTMLElementCollection col = doc.getElementsByName
("fName");
IHTMLTableRow row = (IHTMLTableRow)col.item("fName", 0);
It always complains on the last statement. It says that
unable to do the convertion.
Also, I don't see a method/property on IHTMLTable... that
can grab the value of <TD>.
Please help.
Thanks,
-CL
-----Original Message-----
Ching-Lung,
If you set a reference to the Microsoft.mshtml
interop assembly (itshould be listed under the .NET tab when you add a
reference), you will haveaccess to the IHTMLTableCell interface, which you can
use with theIHTMLTableRow interface, etc, etc.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Ching-Lung" <cl******@hotmail.com> wrote in message
news:12****************************@phx.gbl... Hi,
Does anyone know how to set/retrieve a value of a <TD>
element through MSHTML in C#?
Please advice, thanks!
-CL