Guest User

Untitled

a guest
Oct 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. private void button4_Click(object sender, EventArgs e)
  2. {
  3. string MySelectString = "SELECT * FROM QE_AGENT.IMP_BANK WHERE BANK_LOT = '13120314' AND BANK_COMPTE = '1021'";
  4. string MyConnString = "info de connexion";
  5.  
  6. OdbcConnection MyConnec = new OdbcConnection(MyConnString);
  7.  
  8. MyConnec.Open();
  9. OdbcDataAdapter adapter = new OdbcDataAdapter(MySelectString, MyConnec);
  10. DataSet MyDataSet = new DataSet();
  11.  
  12. adapter.Fill(MyDataSet); <---- i get the error here
  13. }
Add Comment
Please, Sign In to add comment