private async void button6_Click(object sender, EventArgs e) { info = dataGridView1.DataSource = await ApıDal <Orders> .GetInfo("orders"); which = "orders"; islem = "Listeleme"; sonuc = JsonConvert.SerializeObject(info); logInfo.AddLog(islem, sonuc, "basarili", Form1.which); kolonAdet = dataGridView1.ColumnCount; }
public async void button1_Click(object sender, EventArgs e) { info = dataGridView1.DataSource = await ApıDal <Employess> .GetInfo("employess"); which = "employess"; islem = " Listeleme"; sonuc = JsonConvert.SerializeObject(info); logInfo.AddLog(islem, sonuc, "basarili", Form1.which); //response sonucuna göre basarili olma durumu değiştirilebilir. kolonAdet = dataGridView1.ColumnCount; }
private async void button7_Click(object sender, EventArgs e) { dataGridView1.DataSource = await ApıDal <Categories> .GetInfo("categories"); }
private async void button6_Click(object sender, EventArgs e) { dataGridView1.DataSource = await ApıDal <Orders> .GetInfo("orders"); }
private async void button2_Click(object sender, EventArgs e) { dataGridView1.DataSource = await ApıDal <Products> .GetInfo("products"); }
public async void button1_Click(object sender, EventArgs e) { dataGridView1.DataSource = await ApıDal <Employess> .GetInfo("employess"); }