E
Erencan SAÐIROÐLU
Hi To All,
I've a typed dataset and datagridview.
I add a new row typed dataset but datagridview not refresh.
I've unchecked datagridview "enable adding" "enable editing" on the grid
when i design mode.
my code is here...
KeyGeneratorDataSet ds = new KeyGeneratorDataSet();
KeyGeneratorDataSet.KeyGeneratorDataTable table = new
KeyGeneratorDataSet.KeyGeneratorDataTable();
KeyGeneratorDataSet.KeyGeneratorRow row =
ds.KeyGenerator.NewKeyGeneratorRow();
row.Sebep = textBoxExplain.Text;
row.VerilenSifre = textBoxSerialKey.Text;
row.Musteri = textBoxCustomer.Text;
row.BildirilenSifre = textBoxCustomerKey.Text;
ds.KeyGenerator.Rows.Add(row);
keyGeneratorTableAdapter.Update(ds); //DataGridview don't
update.
Do you have an idea?
I've a typed dataset and datagridview.
I add a new row typed dataset but datagridview not refresh.
I've unchecked datagridview "enable adding" "enable editing" on the grid
when i design mode.
my code is here...
KeyGeneratorDataSet ds = new KeyGeneratorDataSet();
KeyGeneratorDataSet.KeyGeneratorDataTable table = new
KeyGeneratorDataSet.KeyGeneratorDataTable();
KeyGeneratorDataSet.KeyGeneratorRow row =
ds.KeyGenerator.NewKeyGeneratorRow();
row.Sebep = textBoxExplain.Text;
row.VerilenSifre = textBoxSerialKey.Text;
row.Musteri = textBoxCustomer.Text;
row.BildirilenSifre = textBoxCustomerKey.Text;
ds.KeyGenerator.Rows.Add(row);
keyGeneratorTableAdapter.Update(ds); //DataGridview don't
update.
Do you have an idea?