Hoppa till huvudinnehållet

Sorting in Datatable without C# Script

Kommentarer

3 kommentarer

  • Permanently deleted user
    Hi,

     

    Did you try to use AddDataTableRow activity from activities toolbox list?

     

    I think you could use that activity instead of the foreach ... something like

     

    User-added image

     

    I hope this helps
    0
  • Permanently deleted user
    This is the way that I do it.  Keeps me from having to loop through the datatable:

     

    User-added image

     

    See https://msdn.microsoft.com/en-us/library/system.data.dataview.sort%28v=vs.110%29.aspx for extra documentation.

     

    Marshall
    0
  • Permanently deleted user
    Thanks so much Marshall!  That worked for me.  I had not thought to sort on the DefaultView.
    0

Du måste logga in om du vill lämna en kommentar.