Hi All I need to get specific column names by values from dataset/data table . for example suppose of column names and values are A =yes B=yes C=No D=No E=Yes. and i need to extract Yes values column names(A,B,E).
Can anyone please let me know how do i get that?
Hello @divya.17290,
You need column names wrt to each row or for all rows in the datatable?
Hi @divya.17290,
This should be quite easy with foreach row loop and a little bit of linq.
Here is the code : GetColumnNamesByAnswers.zip (9.5 KB)
Hope it helps!
Thanks its works!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.