title: CSV to Gridview in c#.net
body: <p>Please advice me how to upload a csv file to display on grid view ?</p>
  
  <pre><code>  private void button1_Click(object sender, EventArgs e)
    {
    }    
  
    private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
    {
    }
  </code></pre>
  
  <p>UPDATE : </p>
  
  <p>please advice me where i was wrong </p>
  
  <p>i want to add rows when submiting data in my form </p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {
          if (textBox1.Text != "" &amp;&amp; textBox2.Text != "" &amp;&amp; textBox3.Text != "" )
          {
              dataGridView1.Rows.Add(1);
              dataGridView1.Rows[0].Cells[0].Value = textBox1.Text;
              dataGridView1.Rows[0].Cells[1].Value = textBox2.Text;
              dataGridView1.Rows[0].Cells[2].Value = textBox3.Text;
  
          }
      }
  </code></pre>