Kod:
DataTable tbl = new DataTable();
OleDbDataAdapter sayilar = new OleDbDataAdapter("select i.buro,i.persicil,g.gorevtur,g.gorevyeri from gorevler as g " +
"inner join tblisbilgileri as i on g.persicil=i.persicil where gorevtur='" + label1.Text + "' ", vt.baglanti);
sayilar.Fill(tbl);
dggrvlistele.DataSource = tbl;
Kod:
DataTable tbl = new DataTable();
OleDbDataAdapter sayilar = new OleDbDataAdapter("select i.buro,p.adi+' '+p.soyad,g.gorevtur,g.gorevyeri from gorevler as g " +
"inner join tblisbilgileri as i on g.persicil=i.persicil inner join perbilgi as p on p.sicil=i.persicil where gorevtur='" + label1.Text + "' ", vt.baglanti);
sayilar.Fill(tbl);
dggrvlistele.DataSource = tbl;
Kod:
System.Data.OleDb.OleDbException: 'Syntax error (missing operator) in query expression 'g.persicil=i.persicil inner join perbilgi as p on p.sicil=i.persici'.'