title: Powershell string array to datagridview
body: <p>I am trying to write the contents of a text file to a datagridview. If I iterate through the array lines, I see the strings. When I add the array to a datagridview, I see properties of the file, line numbers, and string lengths -- but not the strings, which is all I want.</p>
  
  <pre><code>$LogFileRaw = Get-Content($selected)
  </code></pre>
  
  <p>If I use .Net, I just see the string lengths</p>
  
  <pre><code>$LogFileRaw = [System.IO.File]::ReadAllLines($selected)
  </code></pre>
  
  <p>I think that I haven't correctly bound the string array to a DataGridView control. I've found examples of doing this in other languages, but not in Powershell. Can someone can point me to a Powershell example or explain what I'm doing wrong? 
  Thank you for your patience.</p>