title: Databindings is not a member of integer vb.net
body: <p>I'm currently creating a simple POS for a pharmacy so my codes are here</p>
  <pre class="lang-vb prettyprint-override"><code>Dim currquan as Integer
  </code></pre>
  <pre class="lang-vb prettyprint-override"><code>cmd3.Connection = con3
  
  cmd3.CommandText = &quot;Select * from medicines where Drugs = &quot; &amp; Val(DataGridView1.Rows(x).Cells(0).Value.ToString) &amp; &quot;&quot;
  adapter1.SelectCommand = cmd3
  ds1.Clear()
  adapter1.Fill(ds1, &quot;LIST&quot;)
  
  currquan.DataBindings.Add(&quot;Text&quot;, ds, &quot;List.Drugs&quot;)
  currquan.DataBindings.Clear()
  
  cmd3.ExecuteNonQuery()
  </code></pre>
  <p>Now when I did the <code>currquan,databindings.add</code> it's highlighted and said &quot;Databindings is not a member of integer&quot;</p>
  <p>I know to use parameters but I'm currently on a trial and error right now.</p>