title: VB.Net Query For MYSQL Query finding in set
body: <p>i have a table 'Users'
  that consists of 
  ID
  Name
  BranchAccess
  Username
  Passwordd</p>
  
  <p>now in BranchAccess i put the ids of the branches
  BranchAccess = 2,3,11</p>
  
  <p>how can i query that in vb.net?
  that will be like this</p>
  
  <pre><code>+----+----------+----------+------------------------+
  | id | username | password | BranchAccess(varchar)  |
  +----+----------+----------+------------------------+
  |  1 | bob      | ******** | 1,3,11                 |
  |  2 | mary     | ******** | 2,8,5                  |
  | .. | ........ | ........ | ...................... |
  +----+----------+----------+------------------------+
  
  </code></pre>
  
  <pre><code>QueryConnect = "SELECT * From users Where BranchAccess=@BAccess"
  
  CommandConnect = New MySqlCommand(QueryConnect, DataConnection)
  
  CommandConnect.Parameters.Add("@BAccess", MySqlDbType.VarChar).Value = SBIDLabel.Text
  </code></pre>