codice:
string HTML=" <table id='header' style='width:100%;font-size:10px;' > <tr> <td rowspan='2'> <img src='C:\\SVILUPPO 2017\\NEWLAB5.0\\DREAMlab\\bin\\Debug\\Support\\PrintFormat\\img\\logo_dream_2_LAB.png' /> </td> <td > <p align='center' > <strong></strong> </p> </td> <td > </td> </tr> <tr> <td> <p align='center' > <strong >LABORATORIO DREAM MAPUTO</strong></p> </td> <td> </td> </tr> <tr> <td ></td> <td > <p align='center' > <strong>contacto tel.................... email,,,,,,,,,,,,</strong></p> </td> <td ></td> </tr> <tr> <td> </td> <td> <p align='center' ><strong>Avenida Eduardo Mondlane 179 MAPUTO</strong></p> </td> <td> </td> </tr> <tr> <td ></td> <td ><p align='center' > </p> </td> <td ></td> </tr> <tr> <td> </td> <td> </td> <td> </td> </tr> </table> ";
WebBrowser w = new WebBrowser();
w.DocumentText = HTML;
HtmlElement mytable = w.Document.GetElementById("header");
dato il codice
dovrei cercare nel codice HTML passato come parametro e gestire il tutto da c#
purtroppo webbrowser nonostante il mio ID non riconosce il controllo
cosa c'è di sbagliato? eppure il ID è esatto "header"
p.s.
uso windowsForm