1 Reply Latest reply on May 10, 2017 12:25 PM by Rick Davin

    AFSDK multiple attribites values to C# datatable 


      I need help to get many attributes values to datatable in easy way


      the attribute name is a column name and values are the rows

        • Re: AFSDK multiple attribites values to C# datatable 
          Rick Davin

          Can you explain your use case so that we can understand what it is you want to do? 


          For one, I'd like to know if by attribute and values that you mean either AFAttribute and AFValues, or do you mean PIPoint Attributes with their name and value pairs?  If you mean AFAttribute, then a name by itself may not be sufficiently unique.  You may need its path, relative to the database or perhaps the full path including asset server.


          For working with code, a dictionary may be preferred over a DataTable.  So it would help to know what you were planning on doing later with this table.

          1 of 1 people found this helpful