Timer and DataGrid Issue.
WPF
1
Posts
1
Posters
0
Views
1
Watching
-
Hi to all. I am new to WPF. Now I m building a small project. That contain Timer and Label and Datagrid. In Datagrid 7 columns are there. If i add a row in Button_Click Event it is working. But same code not working in Timer In Timer I return below code.
On Error Resume Next Row\_Nos\_Text.Dispatcher.Invoke(New delSetText(AddressOf doSetText), Row\_Nos\_Text, DataGrid1.Items.Count) DataGrid1.Items.Add(0)
The Above code display Number of row in textbox but in datagrid row was not added Plz tell how to solved Problem. Thanks in advance. Nanda