AnsweredAssumed Answered

Convert IList<AFValue> to Datatable

Question asked by NEERAJ on Nov 19, 2020
Latest reply on Nov 19, 2020 by Rick_Davin_3.0

Hi ,

Please let me know if there is a direct way to convert data to datatable or csv file

 

PIPointList myPIPointList_mm = new PIPointList(PIPoint.FindPIPoints(myPIServer, list_tagnames_mm, null));
AFListResults<PIPoint, AFValue> results_mm = myPIPointList_mm.CurrentValue();
IList<AFValue> values_mm = results_mm.Results;

 

I need to save values_mm  can we convert this to datatable without looping?

 

Thanks!

Outcomes