- databindings
now what's my problem , well when i delete a record from my database en i restart my program , and i visualise the values he shows the value what i trough away ,
can somebody help me
my excusses for my bad english
you can mail me to
- maes.jonathan@gmail.com
- maes_jonathan@hotmail.com

help !!!! my database returs always old value's
Brian Shepherd
this is my code for deleting a value , with a button
he deletes the value when i am in my program , but when i restart my program he returns the value in my program
bijbestellenDataSet1.bijbestellen.Rows[m_rowPosition].Delete();
bijbestellenDataSet1.GetChanges();
bijbestellenDataSet1.AcceptChanges();
try
{
this.Validate();
this.bijbestellenBindingSource.EndEdit();
bijbestellenTableAdapter1.Update(this.bijbestellenDataSet1.bijbestellen);
}
catch
{
MessageBox.Show("Het deleten is mislukt probeer het opnieuw");
}
this.ShowCurrentRecord();
schallm
Can you post your delete / select statements
sophia james
I am not sure of the coding lang
VB .NET
last command after update would need to recall the data
DataGrid1.DataBind() 'if you are using datagrid
I hope this helps
Vidhan
steve hallden
Youngy
try it without these lines:
bijbestellenDataSet1.GetChanges(); //removed
bijbestellenDataSet1.AcceptChanges(); //removed
cincyreds
thanks all to you it works , you all are the best
i buy you all a drink when you are once in belgium