'Get specific value from datatable into datagrid - WPF
I have a datagrid that looks like:
Date| 1 | 1 | 2 | 2 |
ID |Name|AM|PM |AM |PM |
101|Joy |* | * | * | * |
Where there are asterixes '*', I need to put 'P'. My datatable looks like:
ID |Name|Date|AM|
101|Joy | 1 |P |
How can I assign a 'P' value with the matching ID, Date and AM from the datatable to the datagrid?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
