End Google Ads 201810 - BS.net 01 -->
Hi.
I'm saving data in one of table with OLEDBCOMMAND.And i have a DataGridView
bound to this table with "BindingSource".
When i use BindingSource.ResetBindings(false); it dosen't show the new records that i saved.
When i close my form and show it againg it show new records.

private void buttonX2_Click(object sender, EventArgs e)
{
if (IsEmpty.Empty(this))
{
if (saveEdit == SaveEdit.Save)
{
dataBase.Save(dataBase.SetDictionary(this), "Anbar_Kala");//(Oledb Commad)
anbarKalaBindingSource.ResetBindings(true);

}
}
}

And also when i use Insert property with TableAdapter is dosen't work too.

private void buttonX2_Click(object sender, EventArgs e)
{

anbar_KalaTableAdapter.Insert(TName.Text, TBDate.Text, TFrom.Text, Convert.ToInt32(Tcount.Text), TVahed.Text);
anbarKalaBindingSource.ResetBindings(true);
//and also anbarKalaBindingSource.ResetBindings(false);

}

Can you tell what to do?
Thank you.


CanI