Hi,
In the below datatable i need two things .Any help?
*The count of success in column state
*Retrieve Id where the state is success
*I need 5th column values which doesn’t have column name
Please find the Below Solution for ur both Questions
Use Assign Activity
1.
Output Will be Integer
CountA = from x in DatatableVariable.AsEnumerable() where convert.tostring(x(“state”)).trim.tolower.contains(“success”)
select convert.tostring(x(“id”)).tolist.count
output will be list Collection of string
listA = from x in DatatableVariable.AsEnumerable() where convert.tostring(x(“state”)).trim.tolower.contains(“success”)
select convert.tostring(x(“id”)).tolist