ı created a project in c # and it loaded to data in access but searching button doesnt work every time find the last loaded please find the problem
baglan.Open();
veri = new OleDbCommand("select urun,model,adet,boyut,aciklama from ogrenci where 'urun='" + urun + ";", baglan);
oku = veri.ExecuteReader();
while (oku.Read())
{
comboBox1.Items.Add(oku["urun"].ToString());
textBox1.Text = oku["model"].ToString();
textBox2.Text = oku["adet"].ToString();
comboBox1.Items.Add(oku["boyut"].ToString());
textBox3.Text = oku["aciklama"].ToString();
}
oku.Close();
baglan.Close();