title: dgv does not exist in the current context
body: <pre><code>public partial class Form7 : Form
  {
      private MySqlDataAdapter da;
      private MySqlConnection conn;
      BindingSource bsource = new BindingSource();
      DataSet ds = null;
      string sql; 
  
      public Form7()
      {
          InitializeComponent();
      }
  
      private void LoadData()
      {
          string connectionString = &quot;Data Source=localhost;database=d1; uid=root; password=123;port=3307;&quot;;
          conn = new MySqlConnection(connectionString);
          sql = &quot;SELECT Name, Address, id, Status FROM t1&quot;;
  
          da = new MySqlDataAdapter(sql, conn);
          conn.Open();
          ds = new DataSet();
          MySqlCommandBuilder commandBuilder = new MySqlCommandBuilder(da);
          da.Fill(ds, &quot;Orders&quot;);
          bsource.DataSource = ds.Tables[&quot;Orders&quot;];
          dgv.DataSource = bsource;
      }
  }
  </code></pre>
  <p>It is giving me an error call:</p>
  <pre><code>dgv does not exist in the current context
  </code></pre>
  <p>What can I do to fix it? Should I use any packages or something?</p>