S
SMG
Hi there,
I have a dataset in memory, which is filled with 1000 records.
If the records are changed in the database, I want to reflect the changes to
the previous records that means:
Dataset 1 : Table 1 [In memory]
Id Name ReportID
1 Shailesh 001
2 gajare 002
3 Gauri 0045
4 Ravi 0009
5 Rajan 5009
After some XX duration I fire a query to database which has followings
records:
Id Name ReportID
1 New_record 01025 - New record
2 gajare 0022 - Modified record
3 Ravi 0009
Two records are deleted [Rajan, Shailesh], One is newly added by values [1
New_record 01025], and one is modified[2 gajare
0022].
Two records are not modified [ Gauri, Ravi]
I want the final dataset as follows:
Id Name ReportID
1 New_record 01025 - New record
2 gajare 0022 - Modified record
3 Gauri 0045 - same record
4 Ravi 0009 - same record
What way I can achieve this?
Thanks and regards,
Shailesh Gajare
I have a dataset in memory, which is filled with 1000 records.
If the records are changed in the database, I want to reflect the changes to
the previous records that means:
Dataset 1 : Table 1 [In memory]
Id Name ReportID
1 Shailesh 001
2 gajare 002
3 Gauri 0045
4 Ravi 0009
5 Rajan 5009
After some XX duration I fire a query to database which has followings
records:
Id Name ReportID
1 New_record 01025 - New record
2 gajare 0022 - Modified record
3 Ravi 0009
Two records are deleted [Rajan, Shailesh], One is newly added by values [1
New_record 01025], and one is modified[2 gajare
0022].
Two records are not modified [ Gauri, Ravi]
I want the final dataset as follows:
Id Name ReportID
1 New_record 01025 - New record
2 gajare 0022 - Modified record
3 Gauri 0045 - same record
4 Ravi 0009 - same record
What way I can achieve this?
Thanks and regards,
Shailesh Gajare