title: How I do set a row in the HTML table in webrowser in c# 2010
body: <p>How doing I  select a row of the table is displayed in the tool webrowser by value in the first cell and the cell five Id
  I'm try by this code ...</p>
  
  <pre><code>HtmlElementCollection tTABLES = this.webBrowser1.Document.GetElementsByTagName("table");
  int r = 0;
  int c = 0;
  foreach (HtmlElement TBL in tTABLES)
  {
      foreach (HtmlElement ROW in TBL.All)
      {
          r += 1;
          foreach (HtmlElement CELL in ROW.All)
          {
              c += 1;
              if (p == CELL.Children[c].InnerText)//p=student id
             {
                  HtmlElement reportDropDown = webBrowser1.Document.GetElementById("ctl00_PlaceHolderMain_DynamicGrid_ctl0" + r + "_ctl0" + (c + 3));
                  reportDropDown.Focus();
                  reportDropDown.SetAttribute("value", "2");  //The value of the desired selection
                  reportDropDown.InvokeMember("onchange");
                  reportDropDown.RemoveFocus();
                  label6.Text = CELL.InnerText.Contains("1096724024").ToString();
              }
          }
      }
  }
  </code></pre>