title: How to find index of controls in flowlayoutpanel in C#
body: <p>I am new to C#.</p>
  
  <p>I have <code>Form1</code> and <code>flowlayoutpanel</code>. I dynamically add <code>Buttons</code> to <code>flowlayoutpanel</code> and the <code>buttons</code> details comes from a <code>database</code> <code>table</code>.</p>
  
  <p>I want to know the name of the first <code>button</code> in the <code>flowlayoutpanel</code>.</p>
  
  <pre><code>for (i = 0; i &lt; DataTable.Rows.Count; i++)
          {
  
            Button btn = new Button();
            btn.Name = DataTable.Rows[i]["Name"].ToString();
            btn.Text = DataTable.Rows[i]["PostCode"].ToString();
            flowlayoutpanel.Controls.Add(btn);
          }            
  
         String First_Button_Name = ........... 
  </code></pre>