title: C# click html button with same id
body: <p>Can somebody help me.
  I need to know how can i automate a form with a webbrowser and just click the button containing the "Report" text on.
  i cant do it with ID because they all have "send" ID.</p>
  
  <pre><code>this.form.target='';
          this.form.action='/foglioorario.php';
          this.form.submit();"&gt;&lt;OPTION value='0'&gt;&lt;/OPTION&gt;&lt;OPTION value='1'&gt;Tirana&lt;/OPTION&gt;&lt;/SELECT&gt;&lt;/td&gt;
                  &lt;/tr&gt;&lt;tr&gt;
                      &lt;td&gt;&lt;input name='azione' value='Importa Curva' type='button' class='TbStyle' onclick="on_click('form1', 'importForecast.php', 'import')"/&gt;&lt;/td&gt;
                      &lt;td colspan='2'&gt;&lt;span style='margin-right:20px'&gt;
                          Alpha:&lt;input name='alpha' id='alpha' type='TEXT' maxlength='3' value='95' style='width:25px'/&gt;% 
                          &lt;/span&gt;  
                          &lt;span style='margin-right:20px'&gt;
                          TMS:&lt;input name='tms' id='tms' type='TEXT' maxlength='3' value='290' style='width:25px'/&gt;
                          &lt;/span&gt;                 
                          &lt;span&gt;                
                          &lt;input type='submit' id='send' name='send' value='Compara curva' class='TbStyle'/&gt;
                          &lt;/span&gt;
                          &lt;span&gt;
                          &lt;input type='submit' id='send' name='send' value='Export CC' class='TbStyle' title='Click per export Excel'/&gt;
                          &lt;/span&gt;
                      &lt;/td&gt;
                      &lt;td&gt;&lt;input type='submit' id='send' name='send' value='Report' class='TbStyle'/&gt;
                      &lt;input type='submit' id='send' name='send' value='Export R' class='TbStyle' title='Click per export Excel'/&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;input type='submit' id='send' name='send' value='Riepilogo Sett' class='TbStyle'/&gt;
                      &lt;input type='submit' id='send' name='send' value='Export S' class='TbStyle' title='Click per export Excel'/&gt;&lt;/td&gt;
                      &lt;td&gt;
                          &lt;span&gt;Pause: &lt;input type='checkbox' name='chkpause' /&gt;&lt;/span&gt;
                          &lt;span style='padding-left:10px'&gt;Disp.Strao: &lt;input type='checkbox' name='chkStrao' /&gt;&lt;/span&gt;
  
                  &lt;/tr&gt;
  </code></pre>