title: Bind List<string> to a column of Grid View in asp.net
body: <p>Example:</p>
  
  <pre><code>&lt;asp:GridView ID="reportScheduleDetailsGridView" runat="server" AutoGenerateColumns="False"  &gt;                
                  &lt;Columns&gt;
                      &lt;asp:BoundField DataField="Name" HeaderText="Name" &gt;&lt;/asp:BoundField&gt;
                      &lt;asp:BoundField DataField="Frequency" HeaderText="Frequency" &gt;&lt;/asp:BoundField&gt;
                      &lt;asp:TemplateField HeaderText="Reports" &gt;
                          &lt;ItemTemplate&gt;
                              &lt;asp:Label ID="cblSubscribedReports" Text='&lt;%# Eval("Reports") %&gt;'  runat="server"/&gt;
                          &lt;/ItemTemplate&gt;
                          &lt;/asp:TemplateField&gt;
                  &lt;/Columns&gt;
           &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>               DataTable table = new DataTable();
                  table.Columns.Add("Name");
                  table.Columns.Add("Frequency");
                  table.Columns.Add("Reports");
  
                  DataRow row1 = table.NewRow();
                  row1["Name"] = "A";
                  row1["Frequency"] = "Daily";
                      List&lt;string&gt; report1 = new List&lt;string&gt;();
                      report1.Add("XYZ");
                      report1.Add("ABC");
                      report1.Add("PQR");
                      row1["Reports"] = report1;
                  table.Rows.Add(row1);
  
                  DataRow row2 = table.NewRow();
                  row2["Name"] = "B";
                  row2["Frequency"] = "Weekly";
                      List&lt;string&gt; report2 = new List&lt;string&gt;();
                      report2.Add("XYZ");
                  row2["Reports"] = report2;
                  table.Rows.Add(row2);
  
                  reportScheduleDetailsGridView.DataSource = table;
                  reportScheduleDetailsGridView.DataBind();   
  </code></pre>
  
  <p>When I run the code Reports column shows System.Collections.Generic instead of string values</p>
  
  <pre><code>Name    Frequency       Reports
  A           Daily         System.Collections.Generic.List`1[System.String] 
  B           Weekly        System.Collections.Generic.List`1[System.String] 
  </code></pre>
  
  <p>I need the output like this: Report column should show the list of string</p>
  
  <pre><code>Name    Frequency   Reports
  A            Daily            1.XYZ
                            2.ABC
                            3.PQR
  B           Weekly            1.XYZ
  </code></pre>