title: Unable to cast object of type 'System.Byte[]' to type 'System.String[]'
body: <p>Hello I'm trying to pass <code>image</code> converted from <code>Byte[]</code> to <code>String[]</code> and display it in <code>ReportViewer Image</code> as following:</p>
  
  <pre><code>String[] dataImage;
  private void showLogo()
  {
      try
      {
          SqlDataAdapter dataAdapter = new SqlDataAdapter( new SqlCommand("SELECT logo
                                             FROM company WHERE id = 1", spojeni));
          DataSet dataSet = new DataSet();
          dataAdapter.Fill(dataSet);
          if (dataSet.Tables[0].Rows.Count == 1)
          {
              dataImage = new String[0];
              dataImage = (String[])(dataSet.Tables[0].Rows[0]["logo"]);
          }
      }
      catch (Exception ex)
      {
          MessageBox.Show(""+ex);
      }
  }
  </code></pre>
  
  <p>And this is the <code>ReportViewer</code> parameter: </p>
  
  <pre><code>ReportParameter[] parameter = new ReportParameter[24];
  parameter[23] = new ReportParameter("rp_logo", dataImage );
  this.reportViewer1.LocalReport.SetParameters(parameter);
  this.reportViewer1.RefreshReport();
  </code></pre>
  
  <p>But I get following <code>Exception</code> Unable to cast object of type 'System.Byte[]' to type 'System.String[]'</p>
  
  <p>Can someone help me solve this?</p>
  
  <p>Thank you for your time.</p>