title: How to filter data inside subreport RDLC
body: <p>I have a subreport inside report and i pass a parameter to the sub report <code>tutorUsername</code>.
  My code when creating report is this:</p>
  
  <pre><code> reportViewer1.LocalReport.ReportPath = (reportPath + "TestReport.rdlc");
   reportViewer1.LocalReport.SubreportProcessing += new SubreportProcessingEventHandler(prcProcessSubReport);
   reportViewer1.LocalReport.DataSources.Add(new ReportDataSource("test_DataSet", report));
   ReportParameter[] tmpParameters = new ReportParameter[1];
   tmpParameters[0] = new ReportParameter("serverNames", serverNamesList, false);
   reportViewer1.LocalReport.SetParameters(tmpParameters);
  </code></pre>
  
  <p>And :</p>
  
  <pre><code>private void prcProcessSubReport(object sender, SubreportProcessingEventArgs e)
      {
       try
        {
          string tutorUserName = e.Parameters["tutorusername"].Values[0].ToString();
          ReportDataSource rdsTradeDetails = new ReportDataSource("Test_DataSet", report);
          e.DataSources.Add(rdsTradeDetails);
          //Code End
        }
        catch (Exception eX)
        { 
  
        }
  
      }
  </code></pre>
  
  <p>Now the issue is i do get the parameter valye but its <code>(Fields!Tutor_Username.Value, \"TEST_DataSet\")</code> . I was assuming this way i will get the tutor username for each and i will create /filter datatable with the parameter and  add accordingly . Any help? What am i doing wrong is there some other way to get parameter value?</p>