title: How to loop rows of dataset in Reporting services rdl custom code
body: <p>How can I loop through the rows of a dataset in the custom code?<br>
  I have a report containing a dataset. I pass the dataset as a parameter to the custom code function. But what then? Where is a reference about the available members etc.?<br>
  Here is my dummy sample code so far:</p>
  
  <pre><code>Public Function ShowParameterValues(ByVal ds as DataSet) as object()
      Dim codes() As Object
      Array.Resize(codes,dc.???.Count)
      codes(0)=ds??(field???)(row??)
      return codes
  End Function
  </code></pre>
  
  <p>Please note: this will be a very simple script (if it'll work), so I don't want to go into custom assemblies etc.</p>