OleDbConnection bag = new OleDbConnection("Provider=Microsoft.Ace.OleDb.12.0;Data Source=data.accdb");
DataTable tablo = new DataTable();
OleDbCommand kmt = new OleDbCommand();
public void listele()
{
tablo.Clear();
OleDbDataAdapter adtr = new OleDbDataAdapter("Select * From ogrbil ", bag);
adtr.Fill(tablo);
dataGridView1.DataSource = tablo;
}
DataTable tablo = new DataTable();
OleDbCommand kmt = new OleDbCommand();
public void listele()
{
tablo.Clear();
OleDbDataAdapter adtr = new OleDbDataAdapter("Select * From ogrbil ", bag);
adtr.Fill(tablo);
dataGridView1.DataSource = tablo;
}