title: How to fix "The source contains no DataRows"?
body: <p>Here i want to find the Matched Records From Two data tables. the code is </p>
  
  <pre><code>public DataTable textfiltering(DataTable dtfff, DataTable dtff)
  {
     DataTable ds = (DataTable)Session["maintxt"];
     DataTable dts = (DataTable)Session["sectxt"];
     dtfff = ds;
     dtff = dts;     
  
     DataTable dtMerged = (from a in dtfff.AsEnumerable()
                            join b in dtff.AsEnumerable()
                            on a["contacts"].ToString() equals b["contacts"].ToString()
                            into g                                 
                            where g.Count()&gt;0                             
                            select a).CopyToDataTable();
             return dtMerged;    
  
  }
  </code></pre>
  
  <p>it gives "The source contains no DataRows" when Data tables does not contain Matched Records...
  How to rectify it..pls give your suggistions </p>