I want to create a library where every one should be able to invoke in their framework and get following data in an excel:
Date Time
Count of items processed.
Username.
Status if Item is Success/Failed. If Failed Exception Details of the item failed
Environment Stage/Dev
Total time of Execution of Item Processed
How should I do this? It should run for all Frameworks.
You can adapt it according to your needs:
filteredData = dataTable.AsEnumerable().Where(
Function(row) row.Field(Of String)(“Status”) = “Success” AndAlso
row.Field(Of String)(“Environment”) = “Dev”
).CopyToDataTable()