In our industrial automation application, we need to capture and display the data in the milliseconds.
We have data binding between data grid control and a DataTable object. We have around three hundred records which needs to be display in the grid. So we update the 300 records every time we get the records.
Example
TabularViewTable tvt = _presenter.WorkItem.Items.Get<TabularViewTable> ("TabularViewTable");
foreach (DataRow row in tvt.Rows)
{
row["Value"] = GetDataFast(row["Name"]);
}
After connecting 10 devices, the CPU usage goes 15%. How to improve the performance using DataTable or using some custom data source
Regards,
Krishgy