Click here to Skip to main content
15,892,480 members

Comments by drcmomo (Top 2 by date)

drcmomo 3-Mar-11 16:48pm View    
Can You said me please how refresh Form1
If I refresh the Form, I can refresh all control in the Form.
I don't know if you understand I'm sorry my english bad.
Thanks
drcmomo 3-Mar-11 16:44pm View    
Yes I rebind the new DataTable.

Code :
Form1
Before
DataTable_DtLstAutomate = BusinesslogicLayer.ManagerBllMachine.Instance.AllMachine();
lstAutomate.DataContext = _DtLstAutomate;

After Update Data in the second Form I call et new fonction

private void DisplayPagingInfo()
{
DataTable dt = BusinesslogicLayer.ManagerBllMachine.Instance.AllMachine();
lstAutomate.Items.Clear();
lstAutomate.DataContext = dt ;

}
ListView not Refresh