title: How can I extract semicolon separated values from DataGridView cell in C#
body: <p><a href="https://i.stack.imgur.com/HpJtv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HpJtv.jpg" alt="screenshot"></a></p>
  
  <p>I am new to C# and I am using windows forms. as shown in screenshot I have cell in <code>DataGridView</code> which contains semicolon separated values. I have this code which creates new buttons but I am missing the part where I can assign each value in the cell to a new button.</p>
  
  <p>I want to split those values (HOUSENO column) and assign each one of them to a button text on my form. Anyone knows how can I do that. Thank you</p>
  
  <pre><code>// I am trying to loop all those values and assign them to a new button text but I have no idea how to do it:
  
              {
                  Button btn = new Button();
                  btn.Text = 
                  btn.Width = 162;
                  btn.Height = 100;               
  
                  flowLayoutPanel1.Controls.Add(btn);
              }
  </code></pre>